CmdID / aws / aws grafana
aws grafana create-workspace-api-key
Creates a Grafana API key for the workspace. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--key-nameSpecifies the name of the key.--key-roleSpecifies the permission level of the key.--seconds-to-liveSpecifies the time in seconds until the key expires.--workspace-idThe ID of the workspace to create an API key.