github.com/Azure/aad-pod-identity@v1.8.17/website/content/en/docs/Concepts/azureidentitybinding.md (about) 1 --- 2 title: "AzureIdentityBinding" 3 linkTitle: "AzureIdentityBinding" 4 weight: 2 5 date: 2020-11-03 6 description: > 7 Describes the identity binding relationship between an `AzureIdentity` and a pod with a specific selector as part of its label. 8 --- 9 10 <details> 11 <summary>Examples</summary> 12 13 ```yaml 14 apiVersion: "aadpodidentity.k8s.io/v1" 15 kind: AzureIdentityBinding 16 metadata: 17 name: <AzureIdentityBindingName> 18 spec: 19 azureIdentity: "<AzureIdentityName>" 20 selector: "<Selector>" 21 ``` 22 23 </details> 24 25 ## `AzureIdentityBinding` 26 27 | Field | Description | 28 |-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 29 | `apiVersion`<br>*string* | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources. | 30 | `kind`<br>*string* | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds. | 31 | `metadata`<br>[*`ObjectMeta`*](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | 32 | `spec`<br>[*`AzureIdentityBindingSpec`*](#azureidentitybindingspec) | Describes the specifications of an identity binding relationship between an [`AzureIdentity`](../azureidentity) and pod(s). | 33 34 ## `AzureIdentityBindingSpec` 35 36 | Field | Description | 37 |-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 38 | `azureIdentity`<br>*string* | The name of the [`AzureIdentity`](../azureidentity) that should be assigned to the pod(s) if matching selector is found. | 39 | `selector`<br>*string* | The selector to identify which pods should be assigned to the `AzureIdentity` above. It will go through a list of pods and look for value of pod label with key `aadpodidbinding` that is equal to itself. |