vault/ui/api-client/dist/models/OciWriteRoleRequest.d.ts
Jordan Reimer 5905f43e1f
[UI] Check-in Built API Client (#29955)
* removes dist from api-client gitignore

* ignores api-client/dist directory for eslint and prettier

* builds api client
2025-03-19 11:50:15 -06:00

87 lines
3.1 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 OciWriteRoleRequest
*/
export interface OciWriteRoleRequest {
/**
* A comma separated list of Group or Dynamic Group OCIDs that are allowed to take this role.
* @type {Array<string>}
* @memberof OciWriteRoleRequest
*/
ocidList?: 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 OciWriteRoleRequest
*/
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 OciWriteRoleRequest
*/
tokenExplicitMaxTtl?: string;
/**
* The maximum lifetime of the generated token
* @type {string}
* @memberof OciWriteRoleRequest
*/
tokenMaxTtl?: string;
/**
* If true, the 'default' policy will not automatically be added to generated tokens
* @type {boolean}
* @memberof OciWriteRoleRequest
*/
tokenNoDefaultPolicy?: boolean;
/**
* The maximum number of times a token may be used, a value of zero means unlimited
* @type {number}
* @memberof OciWriteRoleRequest
*/
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 OciWriteRoleRequest
*/
tokenPeriod?: string;
/**
* Comma-separated list of policies
* @type {Array<string>}
* @memberof OciWriteRoleRequest
*/
tokenPolicies?: Array<string>;
/**
* The initial ttl of the token to generate
* @type {string}
* @memberof OciWriteRoleRequest
*/
tokenTtl?: string;
/**
* The type of token to generate, service or batch
* @type {string}
* @memberof OciWriteRoleRequest
*/
tokenType?: string;
}
/**
* Check if a given object implements the OciWriteRoleRequest interface.
*/
export declare function instanceOfOciWriteRoleRequest(value: object): value is OciWriteRoleRequest;
export declare function OciWriteRoleRequestFromJSON(json: any): OciWriteRoleRequest;
export declare function OciWriteRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OciWriteRoleRequest;
export declare function OciWriteRoleRequestToJSON(json: any): OciWriteRoleRequest;
export declare function OciWriteRoleRequestToJSONTyped(value?: OciWriteRoleRequest | null, ignoreDiscriminator?: boolean): any;