Skip to content

Commit 72a1c54

Browse files
committed
Add OIDC field desc
1 parent 6867e5c commit 72a1c54

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

api/v1/mdb/mongodb_security_types.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -322,16 +322,15 @@ type Ldap struct {
322322
}
323323

324324
type OIDCProviderConfig struct {
325-
// Unique label that identifies this configuration. This label is visible to your Ops Manager users and is used when
326-
// creating users and roles for authorization. It is case-sensitive and can only contain the following characters:
325+
// Unique label that identifies this configuration. It is case-sensitive and can only contain the following characters:
327326
// - alphanumeric characters (combination of a to z and 0 to 9)
328327
// - hyphens (-)
329328
// - underscores (_)
330329
// +kubebuilder:validation:Pattern="^[a-zA-Z0-9-_]+$"
331330
// +kubebuilder:validation:Required
332331
ConfigurationName string `json:"configurationName"`
333332

334-
// Issuer value provided by your registered IdP application. Using this URI, MongoDB finds an OpenID Provider
333+
// Issuer value provided by your registered IdP application. Using this URI, MongoDB finds an OpenID Connect Provider
335334
// Configuration Document, which should be available in the /.wellknown/open-id-configuration endpoint.
336335
// For MongoDB 7.0, 7.3, and 8.0+, the combination of issuerURI and audience must be unique across OIDC provider configurations.
337336
// For other MongoDB versions, the issuerURI itself must be unique.
@@ -361,8 +360,8 @@ type OIDCProviderConfig struct {
361360
// +kubebuilder:validation:Optional
362361
GroupsClaim *string `json:"groupsClaim"`
363362

364-
// Configure single-sign-on for human user access to Ops Manager deployments with Workforce Identity Federation.
365-
// For programmatic, application access to Ops Manager deployments use Workload Identity Federation.
363+
// Configure single-sign-on for human user access to deployments with Workforce Identity Federation.
364+
// For programmatic, application access to deployments use Workload Identity Federation.
366365
// Only one Workforce Identity Federation IdP can be configured per MongoDB resource
367366
// +kubebuilder:validation:Required
368367
AuthorizationMethod OIDCAuthorizationMethod `json:"authorizationMethod"`

0 commit comments

Comments
 (0)