vault/ui/api-client/dist/models/SshIssueCertificateRequest.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

75 lines
2.8 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 SshIssueCertificateRequest
*/
export interface SshIssueCertificateRequest {
/**
* Type of certificate to be created; either "user" or "host".
* @type {string}
* @memberof SshIssueCertificateRequest
*/
certType?: string;
/**
* Critical options that the certificate should be signed for.
* @type {object}
* @memberof SshIssueCertificateRequest
*/
criticalOptions?: object;
/**
* Extensions that the certificate should be signed for.
* @type {object}
* @memberof SshIssueCertificateRequest
*/
extensions?: object;
/**
* Specifies the number of bits to use for the generated keys.
* @type {number}
* @memberof SshIssueCertificateRequest
*/
keyBits?: number;
/**
* Key id that the created certificate should have. If not specified, the display name of the token will be used.
* @type {string}
* @memberof SshIssueCertificateRequest
*/
keyId?: string;
/**
* Specifies the desired key type; must be `rsa`, `ed25519` or `ec`
* @type {string}
* @memberof SshIssueCertificateRequest
*/
keyType?: string;
/**
* The requested Time To Live for the SSH certificate; sets the expiration date. If not specified the role default, backend default, or system default TTL is used, in that order. Cannot be later than the role max TTL.
* @type {string}
* @memberof SshIssueCertificateRequest
*/
ttl?: string;
/**
* Valid principals, either usernames or hostnames, that the certificate should be signed for. Must be non-empty unless allow_empty_principals=true (not recommended) or a value for DefaultUser has been set in the role
* @type {string}
* @memberof SshIssueCertificateRequest
*/
validPrincipals?: string;
}
/**
* Check if a given object implements the SshIssueCertificateRequest interface.
*/
export declare function instanceOfSshIssueCertificateRequest(value: object): value is SshIssueCertificateRequest;
export declare function SshIssueCertificateRequestFromJSON(json: any): SshIssueCertificateRequest;
export declare function SshIssueCertificateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SshIssueCertificateRequest;
export declare function SshIssueCertificateRequestToJSON(json: any): SshIssueCertificateRequest;
export declare function SshIssueCertificateRequestToJSONTyped(value?: SshIssueCertificateRequest | null, ignoreDiscriminator?: boolean): any;