diff --git a/vault/identity_store_structs.go b/vault/identity_store_structs.go index 6636c15c8c..bf4c1abb92 100644 --- a/vault/identity_store_structs.go +++ b/vault/identity_store_structs.go @@ -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 { diff --git a/vault/identity_store_util.go b/vault/identity_store_util.go index 28baf3484a..9b1b1a7933 100644 --- a/vault/identity_store_util.go +++ b/vault/identity_store_util.go @@ -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