identity_aware_proxy_clients
Creates, updates, deletes, gets or lists a identity_aware_proxy_clients
resource.
Overview
Name | identity_aware_proxy_clients |
Type | Resource |
Id | google.iap.identity_aware_proxy_clients |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Unique identifier of the OAuth client. |
displayName | string | Human-friendly name given to the OAuth client. |
secret | string | Output only. Client secret of the OAuth client. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | brandsId, identityAwareProxyClientsId, projectsId | Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP. |
list | SELECT | brandsId, projectsId | Lists the existing clients for the brand. |
create | INSERT | brandsId, projectsId | Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use. |
delete | DELETE | brandsId, identityAwareProxyClientsId, projectsId | Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP. |
reset_secret | EXEC | brandsId, identityAwareProxyClientsId, projectsId | Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP. |
SELECT
examples
Lists the existing clients for the brand.
SELECT
name,
displayName,
secret
FROM google.iap.identity_aware_proxy_clients
WHERE brandsId = '{{ brandsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new identity_aware_proxy_clients
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.iap.identity_aware_proxy_clients (
brandsId,
projectsId,
displayName
)
SELECT
'{{ brandsId }}',
'{{ projectsId }}',
'{{ displayName }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: secret
value: string
- name: displayName
value: string
DELETE
example
Deletes the specified identity_aware_proxy_clients
resource.
/*+ delete */
DELETE FROM google.iap.identity_aware_proxy_clients
WHERE brandsId = '{{ brandsId }}'
AND identityAwareProxyClientsId = '{{ identityAwareProxyClientsId }}'
AND projectsId = '{{ projectsId }}';