Principal is the Schema for the Principals API.
Type
CRD
Group
serviceprincipals.azuread.upbound.io
Version
v1beta1
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
PrincipalSpec defines the desired state of Principal
No description provided.
A set of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. A list of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities
Reference to a Application in applications to populate applicationId.
Policies for referencing.
Selector for a Application in applications to populate applicationId.
Policies for selection.
A feature_tags block as described below. Cannot be used together with the tags property. Block of features to configure for this service principal using tags
A set of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. List of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications
A set of object IDs of principals that will be granted ownership of the service principal. Supported object types are users or service principals. By default, no owners are assigned. A list of object IDs of principals that will be granted ownership of the service principal
A saml_single_sign_on block as documented below. Settings related to SAML single sign-on
A set of tags to apply to the service principal for configuring specific behaviours of the service principal. Note that these are not provided for use by practitioners. Cannot be used together with the feature_tags block. A set of tags to apply to the service principal
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
A set of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. A list of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities
A feature_tags block as described below. Cannot be used together with the tags property. Block of features to configure for this service principal using tags
A set of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. List of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications
A set of object IDs of principals that will be granted ownership of the service principal. Supported object types are users or service principals. By default, no owners are assigned. A list of object IDs of principals that will be granted ownership of the service principal
A saml_single_sign_on block as documented below. Settings related to SAML single sign-on
A set of tags to apply to the service principal for configuring specific behaviours of the service principal. Note that these are not provided for use by practitioners. Cannot be used together with the feature_tags block. A set of tags to apply to the service principal
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
PrincipalStatus defines the observed state of Principal.
No description provided.
A set of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities. A list of alternative names, used to retrieve service principals by subscription, identify resource group and full resource ids for managed identities
A list of app roles published by the associated application, as documented below. For more information official documentation.
Specifies whether this app role definition can be assigned to users and groups, or to other applications (that are accessing this application in a standalone scenario). Possible values are: User and Application, or both.
A feature_tags block as described below. Cannot be used together with the tags property. Block of features to configure for this service principal using tags
A set of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications. List of email addresses where Azure AD sends a notification when the active certificate is near the expiration date. This is only for the certificates used to sign the SAML token issued for Azure AD Gallery applications
A list of OAuth 2.0 delegated permission scopes exposed by the associated application, as documented below.
A set of object IDs of principals that will be granted ownership of the service principal. Supported object types are users or service principals. By default, no owners are assigned. A list of object IDs of principals that will be granted ownership of the service principal
A list of URLs where user tokens are sent for sign-in with the associated application, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent for the associated application. The URLs where user tokens are sent for sign-in with the associated application, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent for the associated application
A saml_single_sign_on block as documented below. Settings related to SAML single sign-on
A list of identifier URI(s), copied over from the associated application. A list of identifier URI(s), copied over from the associated application
A set of tags to apply to the service principal for configuring specific behaviours of the service principal. Note that these are not provided for use by practitioners. Cannot be used together with the feature_tags block. A set of tags to apply to the service principal
Conditions of the resource.
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipals/v1beta1/tokensigningcertificate
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
appRoleAssignmentRequired: false
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
msgraph
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipaldelegated/v1beta1/permissiongrant
uptest.upbound.io/pre-delete-hook: testhooks/delete-permissiongrant.sh
labels:
testing.upbound.io/example-name: msgraph
name: msgraph
spec:
forProvider:
applicationId: 00000003-0000-0000-c000-000000000000
useExisting: true
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipaldelegated/v1beta1/permissiongrant
uptest.upbound.io/pre-delete-hook: testhooks/delete-permissiongrant.sh
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipals/v1beta1/certificate
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
appRoleAssignmentRequired: false
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: app/v1beta1/roleassignment
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
msgraph
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: app/v1beta1/roleassignment
labels:
testing.upbound.io/example-name: msgraph
name: msgraph
spec:
forProvider:
applicationId: 00000003-0000-0000-c000-000000000000
useExisting: true
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipals/v1beta1/claimsmappingpolicyassignment
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
appRoleAssignmentRequired: false
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: synchronization/v1beta1/secret
uptest.upbound.io/pre-delete-hook: testhooks/delete-secret.sh
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
useExisting: true
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: synchronization/v1beta1/job
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
useExisting: true
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipals/v1beta1/principal
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
appRoleAssignmentRequired: false
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
example
apiVersion: serviceprincipals.azuread.upbound.io/v1beta1
kind: Principal
metadata:
annotations:
meta.upbound.io/example-id: serviceprincipals/v1beta1/password
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
appRoleAssignmentRequired: false
applicationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.