Parameters for secret create.
Summary
Types
@type scope() :: %{ optional(:type) => String.t() | nil, optional(:user) => String.t() | nil, optional(String.t()) => term() }
type- The secret scope type. Possible values:account,user.user- The user ID. This field is required iftypeis set touser, and should not be provided iftypeis set toaccount. Max length: 5000.
@type t() :: %Stripe.Params.Apps.SecretCreateParams{ expand: [String.t()] | nil, expires_at: integer() | nil, name: String.t(), payload: String.t(), scope: scope() }
expand- Specifies which fields in the response should be expanded.expires_at- The Unix timestamp for the expiry time of the secret, after which the secret deletes. Format: Unix timestamp.name- A name for the secret that's unique within the scope. Max length: 5000.payload- The plaintext secret value to be stored. Max length: 5000.scope- Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.