Skip to content

upctl object-storage user policy attach

Attach a policy to a user in managed object storage service

upctl object-storage user policy attach <UUID/Title...> [flags]

Examples

upctl object-storage user-policy attach <service-uuid> --username myuser --policy ECSS3FullAccess
upctl object-storage user-policy attach my-service --username myuser --policy ECSS3ReadOnlyAccess

Options

Option Description
--username The username to attach the policy to.
--policy The name of the policy to attach.
--help, -h help for attach
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format. Valid values are human, json and yaml.
Default: human
Command Description
upctl object-storage user policy Manage policies attached to a managed object storage user