mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 00:21:07 +02:00
* adds patch endpoints to api client and missing params for sync * adds namespace param to sync activation api client method
111 lines
5.0 KiB
TypeScript
111 lines
5.0 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 SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
export interface SystemPatchSyncDestinationsGcpSmNameRequest {
|
|
/**
|
|
* Sets which IPv4 addresses Vault is allowed to connect to for syncing secrets.
|
|
* @type {Array<string>}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
allowedIpv4Addresses?: Array<string>;
|
|
/**
|
|
* Sets which IPv6 addresses Vault is allowed to connect to for syncing secrets.
|
|
* @type {Array<string>}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
allowedIpv6Addresses?: Array<string>;
|
|
/**
|
|
* Sets which port numbers Vault is allowed to connect through for syncing secrets.
|
|
* @type {Array<string>}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
allowedPorts?: Array<string>;
|
|
/**
|
|
* GCP IAM service account credentials JSON string to access the secret manager
|
|
* @type {string}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
credentials?: string;
|
|
/**
|
|
* Custom tags to set on the secret managed at the destination. Custom tags are merged with system tags.
|
|
* @type {object}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
customTags?: object;
|
|
/**
|
|
* Allows all IP addresses and ports to be connected to for syncing secrets.
|
|
* @type {boolean}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
disableStrictNetworking?: boolean;
|
|
/**
|
|
* The encryption key resource name when using global, automatic replications. Mutually exclusive with locational_kms_keys.
|
|
* @type {string}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
globalKmsKey?: string;
|
|
/**
|
|
* Determines what level of information is synced as a distinct resource at the destination. Supports `secret-path` and `secret-key`.
|
|
* @type {string}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
granularity?: string;
|
|
/**
|
|
* A list of pairs of replication locations and user-managed encryption keys. For each pair, the key is the location name and the value is the encryption key resource name. When specifying 'replication_locations', the encryption key resource must be located within the same region. When using multiple 'replication_locations', a key name is required for each one.
|
|
* @type {object}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
locationalKmsKeys?: object;
|
|
/**
|
|
* The target project to manage secrets in. If set, overrides the project derived from the service account JSON credentials or application default credentials. The credentials must be authorized to perform actions in the target project.
|
|
* @type {string}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
projectId?: string;
|
|
/**
|
|
* Asynchronously unsyncs all associated secrets with the destination then deletes the destination config.
|
|
* @type {boolean}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
purge?: boolean;
|
|
/**
|
|
* The names of the allowed locations for secrets to be replicated into. Secrets are still globally accessible regardless of their selected locations.
|
|
* @type {Array<string>}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
replicationLocations?: Array<string>;
|
|
/**
|
|
* Template describing how to generate external secret names. Supports a subset of the Go Template syntax.
|
|
* @type {string}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
secretNameTemplate?: string;
|
|
/**
|
|
* List of custom tags to remove for patch requests. This field is ignored on create and update requests.
|
|
* @type {Array<string>}
|
|
* @memberof SystemPatchSyncDestinationsGcpSmNameRequest
|
|
*/
|
|
tagsToRemove?: Array<string>;
|
|
}
|
|
/**
|
|
* Check if a given object implements the SystemPatchSyncDestinationsGcpSmNameRequest interface.
|
|
*/
|
|
export declare function instanceOfSystemPatchSyncDestinationsGcpSmNameRequest(value: object): value is SystemPatchSyncDestinationsGcpSmNameRequest;
|
|
export declare function SystemPatchSyncDestinationsGcpSmNameRequestFromJSON(json: any): SystemPatchSyncDestinationsGcpSmNameRequest;
|
|
export declare function SystemPatchSyncDestinationsGcpSmNameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPatchSyncDestinationsGcpSmNameRequest;
|
|
export declare function SystemPatchSyncDestinationsGcpSmNameRequestToJSON(json: any): SystemPatchSyncDestinationsGcpSmNameRequest;
|
|
export declare function SystemPatchSyncDestinationsGcpSmNameRequestToJSONTyped(value?: SystemPatchSyncDestinationsGcpSmNameRequest | null, ignoreDiscriminator?: boolean): any;
|