Mayson Monorepo Documentation
    Preparing search index...
    interface SecretCreateParams {
        name: string;
        payload: string;
        scope: Stripe.Apps.SecretCreateParams.Scope;
        expand?: string[];
        expires_at?: number;
    }
    Index

    Properties

    name: string

    A name for the secret that's unique within the scope.

    payload: string

    The plaintext secret value to be stored.

    Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.

    expand?: string[]

    Specifies which fields in the response should be expanded.

    expires_at?: number

    The Unix timestamp for the expiry time of the secret, after which the secret deletes.