The iamctl
command-line interface uses the iamctl.yaml
configuration file to interact with IAM.
To create the IAM CLI configuration file:
Log in to the management cluster.
Change the directory to one of the following:
$HOME/.iamctl
$HOME
$HOME/etc
/etc/iamctl
Create iamctl.yaml
with the following exemplary parameters and values
that correspond to your deployment:
server: <IAM_API_ADDRESS>
timeout: 60
verbose: 99 # Verbosity level, from 0 to 99
tls:
enabled: true
ca: <PATH_TO_CA_BUNDLE>
auth:
issuer: <IAM_REALM_IN_KEYCLOAK>
ca: <PATH_TO_CA_BUNDLE>
client_id: iam
client_secret:
The <IAM_REALM_IN_KEYCLOAK>
value has the
<keycloak-url>/auth/realms/<realm-name>
format, where <realm-name>
defaults to iam
.