Resource: WorkforcePoolProviderKey
Represents a public key configuration for a Workforce Pool Provider. The key can be configured in your identity provider to encrypt SAML assertions. Google holds the corresponding private key, which it uses to decrypt encrypted tokens.
JSON representation |
---|
{ "name": string, "keyData": { object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the key. Format: |
key |
Immutable. Public half of the asymmetric key. |
state |
Output only. The state of the key. |
use |
Required. The purpose of the key. |
expire |
Output only. The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
State
The current state of the key.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
ACTIVE |
The key is active. |
DELETED |
The key is soft-deleted. Soft-deleted keys are permanently deleted after approximately 30 days. You can restore a soft-deleted key using keys.undelete . |
KeyUse
The purpose of the key.
Enums | |
---|---|
KEY_USE_UNSPECIFIED |
KeyUse unspecified. |
ENCRYPTION |
The key is used for encryption. |
Methods |
|
---|---|
|
Creates a new WorkforcePoolProviderKey in a WorkforcePoolProvider . |
|
Deletes a WorkforcePoolProviderKey . |
|
Gets a WorkforcePoolProviderKey . |
|
Lists all non-deleted WorkforcePoolProviderKey s in a WorkforcePoolProvider . |
|
Undeletes a WorkforcePoolProviderKey , as long as it was deleted fewer than 30 days ago. |