idp_credentials
Creates, updates, deletes, gets or lists a idp_credentials
resource.
Overview
Name | idp_credentials |
Type | Resource |
Id | google.cloudidentity.idp_credentials |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Resource name of the credential. |
dsaKeyInfo | object | Information of a DSA public key. |
rsaKeyInfo | object | Information of a RSA public key. |
updateTime | string | Output only. Time when the IdpCredential was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | idpCredentialsId, inboundSamlSsoProfilesId | Gets an IdpCredential. |
list | SELECT | inboundSamlSsoProfilesId | Returns a list of IdpCredentials in an InboundSamlSsoProfile. |
add | INSERT | inboundSamlSsoProfilesId | Adds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled Multi-party approval for sensitive actions, the Operation in the response will have "done": false , it will not have a response, and the metadata will have "state": "awaiting-multi-party-approval" . |
delete | DELETE | idpCredentialsId, inboundSamlSsoProfilesId | Deletes an IdpCredential. |
SELECT
examples
Returns a list of IdpCredentials in an InboundSamlSsoProfile.
SELECT
name,
dsaKeyInfo,
rsaKeyInfo,
updateTime
FROM google.cloudidentity.idp_credentials
WHERE inboundSamlSsoProfilesId = '{{ inboundSamlSsoProfilesId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new idp_credentials
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.cloudidentity.idp_credentials (
inboundSamlSsoProfilesId,
pemData
)
SELECT
'{{ inboundSamlSsoProfilesId }}',
'{{ pemData }}'
;
- name: your_resource_model_name
props:
- name: pemData
value: string
DELETE
example
Deletes the specified idp_credentials
resource.
/*+ delete */
DELETE FROM google.cloudidentity.idp_credentials
WHERE idpCredentialsId = '{{ idpCredentialsId }}'
AND inboundSamlSsoProfilesId = '{{ inboundSamlSsoProfilesId }}';