datadog create-role
Create a new role for your organization
Description
Create a new role for your organization
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
name
- (string)
Name of role
Example: --name "name-1"
Default: _None_
Attributes: optional
permissions
- (string)
ID of the permission
Example: --permissions "permissions-1"
Default: _None_
Attributes: optional, multiple allowed
user
- (string)
A unique identifier that represents the user
Example: --user "user-1"
Default: _None_
Attributes: optional, multiple allowed
Examples
Input:
!datadog create-role --name "NewRodle" --permissions "5c1680d0-ff6d-11eb-a494-da7ad0900005" --permissions "4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f" --user "f8d63f4b-a721-4592-b999-9f7197a222d5"
ID NAME PERMISSIONS
f0a08294-9181-11ed-8a60-da7ad0900005 NewRodle d90f6830-d3d8-11e9-a77a-b3404e5e9ee2, 4441648c-d8b1-11e9-a77a-1b899a04b304, 4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f, 5c1680d0-ff6d-11eb-a494-da7ad0900005, 417ba636-2dce-11eb-84c0-6bce5b0d9de0, 12efc20e-d36c-11eb-a9b8-da7ad0900002, aa7ccb44-fa13-11eb-b17c-da7ad0900005, caea6b48-9a59-11ec-b6fc-da7ad0900005, eee67f20-e746-11ec-a905-da7ad0900005, 6f80e6ce-7aff-11ed-836c-da7ad0900005
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "create" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "role" |
Object ID |
Please see Access Control for details.