Skip to content

Commit

Permalink
fix sharing group name
Browse files Browse the repository at this point in the history
  • Loading branch information
carrala committed May 18, 2021
1 parent 4b5e347 commit 41a441b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ func (c *ToznySDKV3) ShareSecretWithUsername(ctx context.Context, params ShareSe
// Find or create the group for sharing with UsernameToAdd
namespaceOptions := NamespaceOptions{
RealmName: c.CurrentIdentity.Realm,
Namespace: fmt.Sprintf("%s.%s", c.StorageClient.ClientID, clientID),
Namespace: fmt.Sprintf("%s.%s.%s.%s", c.StorageClient.ClientID, clientID, params.SecretName, params.SecretType),
SharingMatrix: sharingMatrix,
}
group, err := c.GetOrCreateNamespace(ctx, namespaceOptions)
Expand Down

0 comments on commit 41a441b

Please sign in to comment.