Create a new shared secret that can be accessed by a link.
The secret value to share.
10000An optional name for the shared secret for easier identification.
50An optional password to protect the shared secret. Recipients will need to provide this password to access the secret.
The duration after which the shared secret will expire. Accepts formats like '30d', '24h', '1w'. Maximum is 30 days, minimum is 5 minutes.
The maximum number of times the shared secret can be viewed before it expires. If not provided, unlimited views are allowed.
x >= 1Determines who can access the shared secret. 'organization' restricts access to users within your organization. 'anyone' allows access to anyone with the link. Defaults to 'organization'.
anyone, organization An optional array of email addresses to share the secret with. Maximum 100 emails. Organization members in the list get direct access. When allowExternalEmails is enabled, non-member emails are also accepted and recipients will receive the secret link via email, but must use the password to access it.
100When true, allows sharing with email addresses that do not belong to Infisical. A password is required when this option is enabled. External recipients will receive the secret link via email and must enter the password to access it.
Default Response