rad credential register CLI reference

Details on the rad credential register Radius CLI command

rad credential register

Register (Add or update) cloud provider credential for a Radius installation.

Synopsis

Register (Add or update) cloud provider configuration for a Radius installation.

Radius cloud providers enable Radius Environments to deploy and integrate with cloud resources (Azure, AWS). The Radius control-plane stores credentials for use when accessing cloud resources.

Cloud providers are configured per-Radius-installation. Configuration commands will use the current workspace or the workspace specified by ‘–workspace’ to configure Radius. Modifications to cloud provider configuration or credentials will affect all Radius Environments and applications of the affected installation.

Examples


# Register (Add or update) cloud provider credential for Azure with service principal authentication
rad credential register azure sp --client-id <client id> --client-secret <client secret> --tenant-id <tenant id>
# Register (Add or update) cloud provider credential for Azure with workload identity authentication
rad credential register azure wi --client-id <client id> --tenant-id <tenant id>
# Register (Add or update) cloud provider credential for AWS with access key authentication.
rad credential register aws access-key --access-key-id <access-key-id> --secret-access-key <secret-access-key>
# Register (Add or update) cloud provider credential for AWS with IRSA (IAM Roles for service Accounts).
rad credential register aws irsa --iam-role <roleARN>

Options

  -h, --help   help for register

Options inherited from parent commands

      --config string   config file (default "$HOME/.rad/config.yaml")
  -o, --output string   output format (supported formats are json, table) (default "table")

SEE ALSO