federated_identity_credentials
Creates, updates, deletes, gets or lists a federated_identity_credentials
resource.
Overview
Name | federated_identity_credentials |
Type | Resource |
Id | azure.managed_identity.federated_identity_credentials |
Fields
- vw_federated_identity_credentials
- federated_identity_credentials
Name | Datatype | Description |
---|---|---|
audiences | text | field from the properties object |
federatedIdentityCredentialResourceName | text | field from the properties object |
issuer | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subject | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties associated with a federated identity credential. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | federatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionId | Gets the federated identity credential. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Lists all the federated identity credentials under the specified user assigned identity. |
create_or_update | INSERT | federatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionId | Create or update a federated identity credential under the specified user assigned identity. |
delete | DELETE | federatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionId | Deletes the federated identity credential. |
SELECT
examples
Lists all the federated identity credentials under the specified user assigned identity.
- vw_federated_identity_credentials
- federated_identity_credentials
SELECT
audiences,
federatedIdentityCredentialResourceName,
issuer,
resourceGroupName,
resourceName,
subject,
subscriptionId
FROM azure.managed_identity.vw_federated_identity_credentials
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.managed_identity.federated_identity_credentials
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new federated_identity_credentials
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_identity.federated_identity_credentials (
federatedIdentityCredentialResourceName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ federatedIdentityCredentialResourceName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: issuer
value: string
- name: subject
value: string
- name: audiences
value:
- string
DELETE
example
Deletes the specified federated_identity_credentials
resource.
/*+ delete */
DELETE FROM azure.managed_identity.federated_identity_credentials
WHERE federatedIdentityCredentialResourceName = '{{ federatedIdentityCredentialResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';