mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 16:41:08 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
152 lines
5.4 KiB
TypeScript
152 lines
5.4 KiB
TypeScript
/**
|
|
* HashiCorp Vault API
|
|
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
|
|
*
|
|
* The version of the OpenAPI document: 1.20.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface AzureWriteAuthRoleRequest
|
|
*/
|
|
export interface AzureWriteAuthRoleRequest {
|
|
/**
|
|
* Comma-separated list of group ids that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundGroupIds?: Array<string>;
|
|
/**
|
|
* Comma-separated list of locations that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundLocations?: Array<string>;
|
|
/**
|
|
* Comma-separated list of resource groups that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundResourceGroups?: Array<string>;
|
|
/**
|
|
* Comma-separated list of scale sets that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundScaleSets?: Array<string>;
|
|
/**
|
|
* Comma-separated list of service principal ids that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundServicePrincipalIds?: Array<string>;
|
|
/**
|
|
* Comma-separated list of subscription ids that login is restricted to.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
boundSubscriptionIds?: Array<string>;
|
|
/**
|
|
* Use "token_max_ttl" instead. If this and "token_max_ttl" are both specified, only "token_max_ttl" will be used.
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
* @deprecated
|
|
*/
|
|
maxTtl?: string;
|
|
/**
|
|
* Use "token_num_uses" instead. If this and "token_num_uses" are both specified, only "token_num_uses" will be used.
|
|
* @type {number}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
* @deprecated
|
|
*/
|
|
numUses?: number;
|
|
/**
|
|
* Use "token_period" instead. If this and "token_period" are both specified, only "token_period" will be used.
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
* @deprecated
|
|
*/
|
|
period?: string;
|
|
/**
|
|
* Use "token_policies" instead. If this and "token_policies" are both specified, only "token_policies" will be used.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
* @deprecated
|
|
*/
|
|
policies?: Array<string>;
|
|
/**
|
|
* Comma separated string or JSON list of CIDR blocks. If set, specifies the blocks of IP addresses which are allowed to use the generated token.
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenBoundCidrs?: Array<string>;
|
|
/**
|
|
* If set, tokens created via this role carry an explicit maximum TTL. During renewal, the current maximum TTL values of the role and the mount are not checked for changes, and any updates to these values will have no effect on the token being renewed.
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenExplicitMaxTtl?: string;
|
|
/**
|
|
* The maximum lifetime of the generated token
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenMaxTtl?: string;
|
|
/**
|
|
* If true, the 'default' policy will not automatically be added to generated tokens
|
|
* @type {boolean}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenNoDefaultPolicy?: boolean;
|
|
/**
|
|
* The maximum number of times a token may be used, a value of zero means unlimited
|
|
* @type {number}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenNumUses?: number;
|
|
/**
|
|
* If set, tokens created via this role will have no max lifetime; instead, their renewal period will be fixed to this value. This takes an integer number of seconds, or a string duration (e.g. "24h").
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenPeriod?: string;
|
|
/**
|
|
* Comma-separated list of policies
|
|
* @type {Array<string>}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenPolicies?: Array<string>;
|
|
/**
|
|
* The initial ttl of the token to generate
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenTtl?: string;
|
|
/**
|
|
* The type of token to generate, service or batch
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
*/
|
|
tokenType?: string;
|
|
/**
|
|
* Use "token_ttl" instead. If this and "token_ttl" are both specified, only "token_ttl" will be used.
|
|
* @type {string}
|
|
* @memberof AzureWriteAuthRoleRequest
|
|
* @deprecated
|
|
*/
|
|
ttl?: string;
|
|
}
|
|
/**
|
|
* Check if a given object implements the AzureWriteAuthRoleRequest interface.
|
|
*/
|
|
export declare function instanceOfAzureWriteAuthRoleRequest(value: object): value is AzureWriteAuthRoleRequest;
|
|
export declare function AzureWriteAuthRoleRequestFromJSON(json: any): AzureWriteAuthRoleRequest;
|
|
export declare function AzureWriteAuthRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AzureWriteAuthRoleRequest;
|
|
export declare function AzureWriteAuthRoleRequestToJSON(json: any): AzureWriteAuthRoleRequest;
|
|
export declare function AzureWriteAuthRoleRequestToJSONTyped(value?: AzureWriteAuthRoleRequest | null, ignoreDiscriminator?: boolean): any;
|