Skip to content

Commit dab0d38

Browse files
committed
Update README with new profile functionality
1 parent fd7400d commit dab0d38

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,33 @@ you can try::
9595
TABLENAMES Second
9696
TABLENAMES Third
9797

98+
Profiles
99+
--------
100+
101+
The aws-shell supports AWS CLI profiles. You have two options to use
102+
profiles. First, you can provide a profile when you start the aws-shell::
103+
104+
$ aws-shell --profile prod
105+
aws>
106+
107+
When you do this all the server side completion as well as CLI commands
108+
you run will automatically use the ``prod`` profile.
109+
110+
You can also change the current profile while you're in the aws-shell::
111+
112+
$ aws-shell
113+
aws> .profile demo
114+
Current shell profile changed to: demo
115+
116+
You can also check what profile you've configured in the aws-shell using::
117+
118+
aws> .profile
119+
Current shell profile: demo
120+
121+
After changing your profile using the ``.profile`` dot command, all
122+
server side completion as well as CLI commands will automatically use
123+
the new profile you've configured.
124+
98125

99126
Features
100127
========

0 commit comments

Comments
 (0)