Create
|
|||||
|
|
Creates a new HMAC key for the specified service account
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- Manage your data and permissions in Google Cloud Storage
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
projectId Required |
STRING |
Project ID owning the service account |
serviceAccountEmail Required |
STRING |
Email address of the service account |
userProject |
STRING |
The project to be billed for this request |
= Parameter name
= Format
projectId STRING Required Project ID owning the service account |
serviceAccountEmail STRING Required Email address of the service account |
userProject STRING The project to be billed for this request |
Output
This building block provides 13 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
The kind of item this is. For HMAC keys, this is always storage#hmacKey |
metadata |
OBJECT |
JSON template to produce a JSON-style HMAC Key metadata resource |
metadata.accessId |
STRING |
The ID of the HMAC Key |
metadata.etag |
STRING |
HTTP 1.1 Entity tag for the HMAC key |
metadata.id |
STRING |
The ID of the HMAC key, including the Project ID and the Access ID |
metadata.kind |
STRING |
The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata |
metadata.projectId |
STRING |
Project ID owning the service account to which the key authenticates |
metadata.selfLink |
STRING |
The link to this resource |
metadata.serviceAccountEmail |
STRING |
The email address of the key's associated service account |
metadata.state |
STRING |
The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED |
metadata.timeCreated |
DATE_TIME |
The creation time of the HMAC key in RFC 3339 format |
metadata.updated |
DATE_TIME |
The last modification time of the HMAC key metadata in RFC 3339 format |
secret |
STRING |
HMAC secret key material |
= Parameter name
= Format
kind STRING The kind of item this is. For HMAC keys, this is always storage#hmacKey |
metadata OBJECT JSON template to produce a JSON-style HMAC Key metadata resource |
metadata.accessId STRING The ID of the HMAC Key |
metadata.etag STRING HTTP 1.1 Entity tag for the HMAC key |
metadata.id STRING The ID of the HMAC key, including the Project ID and the Access ID |
metadata.kind STRING The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata |
metadata.projectId STRING Project ID owning the service account to which the key authenticates |
metadata.selfLink STRING The link to this resource |
metadata.serviceAccountEmail STRING The email address of the key's associated service account |
metadata.state STRING The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED |
metadata.timeCreated DATE_TIME The creation time of the HMAC key in RFC 3339 format |
metadata.updated DATE_TIME The last modification time of the HMAC key metadata in RFC 3339 format |
secret STRING HMAC secret key material |