datadog grant-role-archive
Adds a read role to an archive
Description
Adds a read role to an archive
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
archive
- (string)
Archive ID
Example: "archive-1"
Default: _None_
Attributes: optional
role
- (string)
The unique identifier of the role
Example: --role "role-1"
Default: _None_
Attributes: optional
Examples
datadog grant-role-archive "archive-1" --role "role-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "archive" |
Object ID | archive |
Please see Access Control for details.