Skip to content

Commit

Permalink
Add an example of a role mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
akhter-ali-idexx committed Oct 9, 2024
1 parent 740049b commit c74d1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/resource_oidc_identity_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (r *odicIdentityMappingResource) Schema(ctx context.Context, req resource.S
"must start with either 'applied-permissions/admin', 'applied-permissions/user', 'applied-permissions/groups:', or 'applied-permissions/roles:'",
),
},
MarkdownDescription: "Scope of the token. Must start with `applied-permissions/user`, `applied-permissions/admin`, `applied-permissions/roles`, or `applied-permissions/groups:`. Group names must be comma-separated, double quotes wrapped, e.g. `applied-permissions/groups:\\\"readers\\\",\\\"my-group\\\",`",
MarkdownDescription: "Scope of the token. Must start with `applied-permissions/user`, `applied-permissions/admin`, `applied-permissions/roles`, or `applied-permissions/groups:`. Group names must be comma-separated, double quotes wrapped, e.g. `applied-permissions/groups:\\\"readers\\\",\\\"my-group\\\",` Role permissions must be comma-separated, double quotes wrapped, and provide a project name, e.g. `applied-permissions:roles:<Your Artifactory Project Name>:\"Developer\",\"Viewer\"",
},
"audience": schema.StringAttribute{
Optional: true,
Expand Down

0 comments on commit c74d1bf

Please sign in to comment.