Close
logodocs

sdm admin services grant

NAME:
sdm admin services grant - grant access to a datasource to a service account
USAGE:
sdm admin services grant [command options] <datasource-name> <service-name> [service-name-2 service-name-n...]
OPTIONS:
--template, -t display a JSON template
--file value, -f value load grants from JSON file
--stdin, -i load from stdin

Additional Information

The --template command produces example --file or --stdin input.

[
{
"datasourceName": "",
"datasourceID": "rs-0000000000000000",
"serviceAccounts": [
{
"id": "a-0000000000000000",
"name": ""
}
]
}
]
Previous
sdm admin services delete
Next
sdm admin services grant-all