Update documentation with new authenticate usage on the CLI (#2865)

* docs: update deploy-and-login getting started guide with new authenticate usage

* docs: update api-clients/cli.mdx to remove login-name flag when using authenticate

* docs: update common-workflows/manage-users-groups.mdx to remove login-name flag when using authenticate

* docs: update common-workflows/workflow-ssh-proxycommand.mdx with new short form usage of authenticate command when using the primary auth method in the global scope

* docs: update oss/installing/no-gen-resources.mdx to remove login-name usage in authenticate command

* docs: update oss/installing/run-and-login.mdx with short form usage of boundary authenticate

* docs: fix tabs

* docs: fix numbering

* Apply batch of suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* docs: fix code blocks

* fixes code blocks

---------

Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com>
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
Co-authored-by: stellarsquall <stellarsquall@protonmail.ch>
This commit is contained in:
authored and GitHub committed 2023-02-07 10:40:31 -05:00
1 parent 1e9057d8a3
commit eea5e80fa2
6 files changed
+31 -30

No files matched your search

@@ -480,8 +480,7 @@ resource "boundary_role" "project_admin" {
### Login as Your New User
```bash
```shell-session
boundary authenticate password \
-auth-method-id <auth_method_id> \
-login-name myuser
-auth-method-id <auth_method_id>
```
@@ -9,7 +9,7 @@ description: |-
To start Boundary in dev mode:
```bash
```shell-session
$ boundary dev
```
@@ -17,16 +17,16 @@ $ boundary dev
Boundary uses a predictable login name (`admin`) and password (`password`) in
dev mode. These can be overridden, or randomly generated, with flags to
`boundary dev`.
`boundary dev`. The auth method resource in the global scope is set as the primary auth method for that scope. This allows you to omit the auth method ID when authenticating, enabling the short-form `boundary authenticate`:
<Tabs>
<Tab heading="CLI">
```
$ boundary authenticate password \
-login-name=admin \
-auth-method-id=ampw_1234567890
```shell-session
$ boundary authenticate
Please enter the login name (it will be hidden):
Please enter the password (it will be hidden):
```
If you are on Windows or macOS, the system password store will be used to store