Stripe::AppsApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
List all secrets stored on the given scope.
@required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. @optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::SecretServiceResourceSecretList]<p>List all secrets stored on the given scope.</p>
@required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.
@optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return nil
Finds a secret in the secret store by name and scope.
@required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::AppsSecret]<p>Finds a secret in the secret store by name and scope.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Finds a secret in the secret store by name and scope.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::AppsSecret, Integer, Hash)] Stripe::AppsSecret, response status code and response headers
<p>List all secrets stored on the given scope.</p>
@required @param scope [Stripe::ScopeParam?] Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.
@optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return [Tuple(Stripe::SecretServiceResourceSecretList, Integer, Hash)] Stripe::SecretServiceResourceSecretList, response status code and response headers
Create or replace a secret in the secret store.
@required @param name [String?] A name for the secret that's unique within the scope. @required @param payload [String?] The plaintext secret value to be stored. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The Unix timestamp for the expiry time of the secret, after which the secret deletes. @return [Stripe::AppsSecret]<p>Create or replace a secret in the secret store.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param payload [String?] The plaintext secret value to be stored. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The Unix timestamp for the expiry time of the secret, after which the secret deletes. @return nil
Deletes a secret from the secret store by name and scope.
@required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::AppsSecret]<p>Deletes a secret from the secret store by name and scope.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil
<p>Deletes a secret from the secret store by name and scope.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::AppsSecret, Integer, Hash)] Stripe::AppsSecret, response status code and response headers
<p>Create or replace a secret in the secret store.</p> @required @param name [String?] A name for the secret that's unique within the scope. @required @param payload [String?] The plaintext secret value to be stored. @required @param scope [Stripe::ScopeParam?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The Unix timestamp for the expiry time of the secret, after which the secret deletes. @return [Tuple(Stripe::AppsSecret, Integer, Hash)] Stripe::AppsSecret, response status code and response headers