Skip to content

Commit 230dff6

Browse files
committed
Add mutually exclusive note to plugin and provisioner fields as well
1 parent 6a4621d commit 230dff6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/schema/executable.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ type CredentialUsage struct {
3030
Name sdk.CredentialName
3131

3232
// (Optional) The plugin name that contains the credential. Defaults to the current package. This can be used to
33-
// include credentials from other plugins.
33+
// include credentials from other plugins. Mutually exclusive with `SelectFrom`.
3434
Plugin string
3535

3636
// (Optional) The provisioner to use to provision this credential to the executable. Overrides the DefaultProvisioner
3737
// set in the credential schema, so should only be used if this executable requires a custom configuration, that deviates
38-
// from the way the credential is usually provisioned.
38+
// from the way the credential is usually provisioned. Mutually exclusive with `SelectFrom`.
3939
Provisioner sdk.Provisioner
4040

4141
// (Optional) What this credential will be used for by the executable.

0 commit comments

Comments
 (0)