Add SCIMenabled flag in IdentityStore (#10350) (#10365)

Co-authored-by: Bianca <48203644+biazmoreira@users.noreply.github.com>
This commit is contained in:
Vault Automation 2025-11-11 02:02:38 -05:00 committed by GitHub
parent 14e7e827a8
commit 90571de3bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -129,6 +129,9 @@ type IdentityStore struct {
// activateDeduplicationDone is a channel used for synchronization in testing
activateDeduplicationDone chan struct{}
// scimEnabled is used to indicate if SCIM paths are enabled and if SCIM operations can be performed.
scimEnabled bool
}
type groupDiff struct {

View File

@ -171,7 +171,8 @@ func (i *IdentityStore) activate(ctx context.Context, _ *logical.Request, featur
case activationflags.IdentityDeduplication:
return i.activateDeduplication(ctx, nil)
case activationflags.SCIMEnablement:
return nil
i.logger.Info("activating SCIM paths; SCIM operations can now be performed")
i.scimEnabled = true
}
return nil