Manage your user profiles
When you register your computer with Chef 360 Platform, you create a profile that allows you to securely connect to and perform operations with Chef 360 Platform.
A profile defines the following:
- a unique profile name
- your Chef 360 Platform FQDN
- a user role (either a system-defined role or a custom role)
- a profile expiration date
You can create multiple profiles with different settings and you can assign one profile as your default profile.
List your user profiles
To get a list of your profiles, use the
list-profile-names
subcommand:chef-platform-auth-cli list-profile-names
Default profile
The Chef 360 Platform CLIs create a default profile when you first register your computer with Chef 360 Platform.
The CLIs use the default profile unless you specify a different profile with the --profile
flag.
View your default profile
To see your default profile, use the
get-default-profile
subcommand:chef-platform-auth-cli get-default-profile
Set a default profile
You can set a default profile.
To set a default profile, use the
set-default-profile
subcommand:chef-platform-auth-cli set-default-profile <PROFILE_NAME>
Replace
<PROFILE_NAME>
with the profile you’d like to use as a default.