@ibm-cloud/secrets-manager 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +40 -60
- package/examples/secrets-manager.v2.test.js +74 -41
- package/package.json +3 -3
- package/secrets-manager/v2.d.ts +2723 -407
- package/secrets-manager/v2.js +2088 -15
- package/secrets-manager/v2.js.map +1 -1
package/secrets-manager/v2.js
CHANGED
|
@@ -77,15 +77,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
|
-
* IBM OpenAPI SDK Code Generator Version: 3.
|
|
80
|
+
* IBM OpenAPI SDK Code Generator Version: 3.82.1-2082d402-20231115-195014
|
|
81
81
|
*/
|
|
82
82
|
/* eslint-disable max-classes-per-file */
|
|
83
83
|
/* eslint-disable no-await-in-loop */
|
|
84
84
|
var extend = require("extend");
|
|
85
85
|
var ibm_cloud_sdk_core_1 = require("ibm-cloud-sdk-core");
|
|
86
|
-
var ibm_cloud_sdk_core_2 = require("ibm-cloud-sdk-core");
|
|
87
86
|
var common_1 = require("../lib/common");
|
|
88
|
-
var ibm_cloud_sdk_core_3 = require("ibm-cloud-sdk-core");
|
|
89
87
|
/**
|
|
90
88
|
* With IBM Cloud® Secrets Manager, you can create, lease, and centrally manage secrets that are used in IBM Cloud
|
|
91
89
|
* services or your custom-built applications.
|
|
@@ -133,7 +131,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
133
131
|
* @returns {string} The formatted URL with all variable placeholders replaced by values.
|
|
134
132
|
*/
|
|
135
133
|
SecretsManagerV2.constructServiceUrl = function (providedUrlVariables) {
|
|
136
|
-
return (0,
|
|
134
|
+
return (0, ibm_cloud_sdk_core_1.constructServiceUrl)(SecretsManagerV2.PARAMETERIZED_SERVICE_URL, SecretsManagerV2.defaultUrlVariables, providedUrlVariables);
|
|
137
135
|
};
|
|
138
136
|
/*************************
|
|
139
137
|
* Factory method
|
|
@@ -669,6 +667,52 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
669
667
|
};
|
|
670
668
|
return this.createRequest(parameters);
|
|
671
669
|
};
|
|
670
|
+
/**
|
|
671
|
+
* Get a secret by name.
|
|
672
|
+
*
|
|
673
|
+
* Get a secret and its details by specifying the Name and Type of the secret.
|
|
674
|
+
*
|
|
675
|
+
* A successful request returns the secret data that is associated with your secret, along with other metadata. To
|
|
676
|
+
* view only the details of a specified secret without retrieving its value, use the [Get secret
|
|
677
|
+
* metadata](#get-secret-metadata) operation.
|
|
678
|
+
*
|
|
679
|
+
* @param {Object} params - The parameters to send to the service.
|
|
680
|
+
* @param {string} params.secretType - The secret type. Supported types are arbitrary, imported_cert, public_cert,
|
|
681
|
+
* private_cert, iam_credentials, service_credentials, kv, and username_password.
|
|
682
|
+
* @param {string} params.name - A human-readable name to assign to your secret. To protect your privacy, do not use
|
|
683
|
+
* personal data, such as your name or location, as a name for your secret.
|
|
684
|
+
* @param {string} params.secretGroupName - The name of your secret group.
|
|
685
|
+
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
686
|
+
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.Secret>>}
|
|
687
|
+
*/
|
|
688
|
+
SecretsManagerV2.prototype.getSecretByNameType = function (params) {
|
|
689
|
+
var _params = __assign({}, params);
|
|
690
|
+
var _requiredParams = ['secretType', 'name', 'secretGroupName'];
|
|
691
|
+
var _validParams = ['secretType', 'name', 'secretGroupName', 'headers'];
|
|
692
|
+
var _validationErrors = (0, ibm_cloud_sdk_core_1.validateParams)(_params, _requiredParams, _validParams);
|
|
693
|
+
if (_validationErrors) {
|
|
694
|
+
return Promise.reject(_validationErrors);
|
|
695
|
+
}
|
|
696
|
+
var path = {
|
|
697
|
+
'secret_type': _params.secretType,
|
|
698
|
+
'name': _params.name,
|
|
699
|
+
'secret_group_name': _params.secretGroupName,
|
|
700
|
+
};
|
|
701
|
+
var sdkHeaders = (0, common_1.getSdkHeaders)(SecretsManagerV2.DEFAULT_SERVICE_NAME, 'v2', 'getSecretByNameType');
|
|
702
|
+
var parameters = {
|
|
703
|
+
options: {
|
|
704
|
+
url: '/api/v2/secret_groups/{secret_group_name}/secret_types/{secret_type}/secrets/{name}',
|
|
705
|
+
method: 'GET',
|
|
706
|
+
path: path,
|
|
707
|
+
},
|
|
708
|
+
defaultOptions: extend(true, {}, this.baseOptions, {
|
|
709
|
+
headers: extend(true, sdkHeaders, {
|
|
710
|
+
'Accept': 'application/json',
|
|
711
|
+
}, _params.headers),
|
|
712
|
+
}),
|
|
713
|
+
};
|
|
714
|
+
return this.createRequest(parameters);
|
|
715
|
+
};
|
|
672
716
|
/*************************
|
|
673
717
|
* secretVersions
|
|
674
718
|
************************/
|
|
@@ -1467,7 +1511,7 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1467
1511
|
* more of the fields: `name`, `config_type`, `secret_type`.
|
|
1468
1512
|
*
|
|
1469
1513
|
* **Usage:** If you want to list only the configurations that contain the string `text`, use
|
|
1470
|
-
* `../
|
|
1514
|
+
* `../configurations?search=text`.
|
|
1471
1515
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
1472
1516
|
* @returns {Promise<SecretsManagerV2.Response<SecretsManagerV2.ConfigurationMetadataPaginatedCollection>>}
|
|
1473
1517
|
*/
|
|
@@ -1833,6 +1877,22 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1833
1877
|
* interfaces
|
|
1834
1878
|
************************/
|
|
1835
1879
|
(function (SecretsManagerV2) {
|
|
1880
|
+
/** Constants for the `getSecretByNameType` operation. */
|
|
1881
|
+
var GetSecretByNameTypeConstants;
|
|
1882
|
+
(function (GetSecretByNameTypeConstants) {
|
|
1883
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
1884
|
+
var SecretType;
|
|
1885
|
+
(function (SecretType) {
|
|
1886
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
1887
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
1888
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
1889
|
+
SecretType["KV"] = "kv";
|
|
1890
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
1891
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
1892
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
1893
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
1894
|
+
})(SecretType = GetSecretByNameTypeConstants.SecretType || (GetSecretByNameTypeConstants.SecretType = {}));
|
|
1895
|
+
})(GetSecretByNameTypeConstants = SecretsManagerV2.GetSecretByNameTypeConstants || (SecretsManagerV2.GetSecretByNameTypeConstants = {}));
|
|
1836
1896
|
/** Constants for the `createSecretLocksBulk` operation. */
|
|
1837
1897
|
var CreateSecretLocksBulkConstants;
|
|
1838
1898
|
(function (CreateSecretLocksBulkConstants) {
|
|
@@ -1913,6 +1973,2024 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1913
1973
|
XSmAcceptConfigurationType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
1914
1974
|
})(XSmAcceptConfigurationType = CreateConfigurationActionConstants.XSmAcceptConfigurationType || (CreateConfigurationActionConstants.XSmAcceptConfigurationType = {}));
|
|
1915
1975
|
})(CreateConfigurationActionConstants = SecretsManagerV2.CreateConfigurationActionConstants || (SecretsManagerV2.CreateConfigurationActionConstants = {}));
|
|
1976
|
+
var CertificateIssuanceInfo;
|
|
1977
|
+
(function (CertificateIssuanceInfo) {
|
|
1978
|
+
var Constants;
|
|
1979
|
+
(function (Constants) {
|
|
1980
|
+
/** A text representation of the secret state. */
|
|
1981
|
+
var StateDescription;
|
|
1982
|
+
(function (StateDescription) {
|
|
1983
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
1984
|
+
StateDescription["ACTIVE"] = "active";
|
|
1985
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
1986
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
1987
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
1988
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
1989
|
+
})(Constants = CertificateIssuanceInfo.Constants || (CertificateIssuanceInfo.Constants = {}));
|
|
1990
|
+
})(CertificateIssuanceInfo = SecretsManagerV2.CertificateIssuanceInfo || (SecretsManagerV2.CertificateIssuanceInfo = {}));
|
|
1991
|
+
var SecretLock;
|
|
1992
|
+
(function (SecretLock) {
|
|
1993
|
+
var Constants;
|
|
1994
|
+
(function (Constants) {
|
|
1995
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
1996
|
+
var SecretVersionAlias;
|
|
1997
|
+
(function (SecretVersionAlias) {
|
|
1998
|
+
SecretVersionAlias["CURRENT"] = "current";
|
|
1999
|
+
SecretVersionAlias["PREVIOUS"] = "previous";
|
|
2000
|
+
})(SecretVersionAlias = Constants.SecretVersionAlias || (Constants.SecretVersionAlias = {}));
|
|
2001
|
+
})(Constants = SecretLock.Constants || (SecretLock.Constants = {}));
|
|
2002
|
+
})(SecretLock = SecretsManagerV2.SecretLock || (SecretsManagerV2.SecretLock = {}));
|
|
2003
|
+
var SecretLocks;
|
|
2004
|
+
(function (SecretLocks) {
|
|
2005
|
+
var Constants;
|
|
2006
|
+
(function (Constants) {
|
|
2007
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2008
|
+
var SecretType;
|
|
2009
|
+
(function (SecretType) {
|
|
2010
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2011
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2012
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2013
|
+
SecretType["KV"] = "kv";
|
|
2014
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2015
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2016
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2017
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2018
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2019
|
+
})(Constants = SecretLocks.Constants || (SecretLocks.Constants = {}));
|
|
2020
|
+
})(SecretLocks = SecretsManagerV2.SecretLocks || (SecretsManagerV2.SecretLocks = {}));
|
|
2021
|
+
var SecretVersionLocks;
|
|
2022
|
+
(function (SecretVersionLocks) {
|
|
2023
|
+
var Constants;
|
|
2024
|
+
(function (Constants) {
|
|
2025
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2026
|
+
var VersionAlias;
|
|
2027
|
+
(function (VersionAlias) {
|
|
2028
|
+
VersionAlias["CURRENT"] = "current";
|
|
2029
|
+
VersionAlias["PREVIOUS"] = "previous";
|
|
2030
|
+
})(VersionAlias = Constants.VersionAlias || (Constants.VersionAlias = {}));
|
|
2031
|
+
})(Constants = SecretVersionLocks.Constants || (SecretVersionLocks.Constants = {}));
|
|
2032
|
+
})(SecretVersionLocks = SecretsManagerV2.SecretVersionLocks || (SecretsManagerV2.SecretVersionLocks = {}));
|
|
2033
|
+
var ArbitrarySecret;
|
|
2034
|
+
(function (ArbitrarySecret) {
|
|
2035
|
+
var Constants;
|
|
2036
|
+
(function (Constants) {
|
|
2037
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2038
|
+
var SecretType;
|
|
2039
|
+
(function (SecretType) {
|
|
2040
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2041
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2042
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2043
|
+
SecretType["KV"] = "kv";
|
|
2044
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2045
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2046
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2047
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2048
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2049
|
+
/** A text representation of the secret state. */
|
|
2050
|
+
var StateDescription;
|
|
2051
|
+
(function (StateDescription) {
|
|
2052
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2053
|
+
StateDescription["ACTIVE"] = "active";
|
|
2054
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2055
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2056
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2057
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2058
|
+
})(Constants = ArbitrarySecret.Constants || (ArbitrarySecret.Constants = {}));
|
|
2059
|
+
})(ArbitrarySecret = SecretsManagerV2.ArbitrarySecret || (SecretsManagerV2.ArbitrarySecret = {}));
|
|
2060
|
+
var ArbitrarySecretMetadata;
|
|
2061
|
+
(function (ArbitrarySecretMetadata) {
|
|
2062
|
+
var Constants;
|
|
2063
|
+
(function (Constants) {
|
|
2064
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2065
|
+
var SecretType;
|
|
2066
|
+
(function (SecretType) {
|
|
2067
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2068
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2069
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2070
|
+
SecretType["KV"] = "kv";
|
|
2071
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2072
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2073
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2074
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2075
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2076
|
+
/** A text representation of the secret state. */
|
|
2077
|
+
var StateDescription;
|
|
2078
|
+
(function (StateDescription) {
|
|
2079
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2080
|
+
StateDescription["ACTIVE"] = "active";
|
|
2081
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2082
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2083
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2084
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2085
|
+
})(Constants = ArbitrarySecretMetadata.Constants || (ArbitrarySecretMetadata.Constants = {}));
|
|
2086
|
+
})(ArbitrarySecretMetadata = SecretsManagerV2.ArbitrarySecretMetadata || (SecretsManagerV2.ArbitrarySecretMetadata = {}));
|
|
2087
|
+
var ArbitrarySecretPrototype;
|
|
2088
|
+
(function (ArbitrarySecretPrototype) {
|
|
2089
|
+
var Constants;
|
|
2090
|
+
(function (Constants) {
|
|
2091
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2092
|
+
var SecretType;
|
|
2093
|
+
(function (SecretType) {
|
|
2094
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2095
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2096
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2097
|
+
SecretType["KV"] = "kv";
|
|
2098
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2099
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2100
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2101
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2102
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2103
|
+
})(Constants = ArbitrarySecretPrototype.Constants || (ArbitrarySecretPrototype.Constants = {}));
|
|
2104
|
+
})(ArbitrarySecretPrototype = SecretsManagerV2.ArbitrarySecretPrototype || (SecretsManagerV2.ArbitrarySecretPrototype = {}));
|
|
2105
|
+
var ArbitrarySecretVersion;
|
|
2106
|
+
(function (ArbitrarySecretVersion) {
|
|
2107
|
+
var Constants;
|
|
2108
|
+
(function (Constants) {
|
|
2109
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2110
|
+
var SecretType;
|
|
2111
|
+
(function (SecretType) {
|
|
2112
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2113
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2114
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2115
|
+
SecretType["KV"] = "kv";
|
|
2116
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2117
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2118
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2119
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2120
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2121
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2122
|
+
var Alias;
|
|
2123
|
+
(function (Alias) {
|
|
2124
|
+
Alias["CURRENT"] = "current";
|
|
2125
|
+
Alias["PREVIOUS"] = "previous";
|
|
2126
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2127
|
+
})(Constants = ArbitrarySecretVersion.Constants || (ArbitrarySecretVersion.Constants = {}));
|
|
2128
|
+
})(ArbitrarySecretVersion = SecretsManagerV2.ArbitrarySecretVersion || (SecretsManagerV2.ArbitrarySecretVersion = {}));
|
|
2129
|
+
var ArbitrarySecretVersionMetadata;
|
|
2130
|
+
(function (ArbitrarySecretVersionMetadata) {
|
|
2131
|
+
var Constants;
|
|
2132
|
+
(function (Constants) {
|
|
2133
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2134
|
+
var SecretType;
|
|
2135
|
+
(function (SecretType) {
|
|
2136
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2137
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2138
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2139
|
+
SecretType["KV"] = "kv";
|
|
2140
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2141
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2142
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2143
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2144
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2145
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2146
|
+
var Alias;
|
|
2147
|
+
(function (Alias) {
|
|
2148
|
+
Alias["CURRENT"] = "current";
|
|
2149
|
+
Alias["PREVIOUS"] = "previous";
|
|
2150
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2151
|
+
})(Constants = ArbitrarySecretVersionMetadata.Constants || (ArbitrarySecretVersionMetadata.Constants = {}));
|
|
2152
|
+
})(ArbitrarySecretVersionMetadata = SecretsManagerV2.ArbitrarySecretVersionMetadata || (SecretsManagerV2.ArbitrarySecretVersionMetadata = {}));
|
|
2153
|
+
var CommonRotationPolicy;
|
|
2154
|
+
(function (CommonRotationPolicy) {
|
|
2155
|
+
var Constants;
|
|
2156
|
+
(function (Constants) {
|
|
2157
|
+
/** The units for the secret rotation time interval. */
|
|
2158
|
+
var Unit;
|
|
2159
|
+
(function (Unit) {
|
|
2160
|
+
Unit["DAY"] = "day";
|
|
2161
|
+
Unit["MONTH"] = "month";
|
|
2162
|
+
})(Unit = Constants.Unit || (Constants.Unit = {}));
|
|
2163
|
+
})(Constants = CommonRotationPolicy.Constants || (CommonRotationPolicy.Constants = {}));
|
|
2164
|
+
})(CommonRotationPolicy = SecretsManagerV2.CommonRotationPolicy || (SecretsManagerV2.CommonRotationPolicy = {}));
|
|
2165
|
+
var IAMCredentialsConfiguration;
|
|
2166
|
+
(function (IAMCredentialsConfiguration) {
|
|
2167
|
+
var Constants;
|
|
2168
|
+
(function (Constants) {
|
|
2169
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2170
|
+
var ConfigType;
|
|
2171
|
+
(function (ConfigType) {
|
|
2172
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2173
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2174
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2175
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2176
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2177
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2178
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2179
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2180
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2181
|
+
var SecretType;
|
|
2182
|
+
(function (SecretType) {
|
|
2183
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2184
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2185
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2186
|
+
SecretType["KV"] = "kv";
|
|
2187
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2188
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2189
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2190
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2191
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2192
|
+
})(Constants = IAMCredentialsConfiguration.Constants || (IAMCredentialsConfiguration.Constants = {}));
|
|
2193
|
+
})(IAMCredentialsConfiguration = SecretsManagerV2.IAMCredentialsConfiguration || (SecretsManagerV2.IAMCredentialsConfiguration = {}));
|
|
2194
|
+
var IAMCredentialsConfigurationMetadata;
|
|
2195
|
+
(function (IAMCredentialsConfigurationMetadata) {
|
|
2196
|
+
var Constants;
|
|
2197
|
+
(function (Constants) {
|
|
2198
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2199
|
+
var ConfigType;
|
|
2200
|
+
(function (ConfigType) {
|
|
2201
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2202
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2203
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2204
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2205
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2206
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2207
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2208
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2209
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2210
|
+
var SecretType;
|
|
2211
|
+
(function (SecretType) {
|
|
2212
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2213
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2214
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2215
|
+
SecretType["KV"] = "kv";
|
|
2216
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2217
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2218
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2219
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2220
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2221
|
+
})(Constants = IAMCredentialsConfigurationMetadata.Constants || (IAMCredentialsConfigurationMetadata.Constants = {}));
|
|
2222
|
+
})(IAMCredentialsConfigurationMetadata = SecretsManagerV2.IAMCredentialsConfigurationMetadata || (SecretsManagerV2.IAMCredentialsConfigurationMetadata = {}));
|
|
2223
|
+
var IAMCredentialsConfigurationPrototype;
|
|
2224
|
+
(function (IAMCredentialsConfigurationPrototype) {
|
|
2225
|
+
var Constants;
|
|
2226
|
+
(function (Constants) {
|
|
2227
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2228
|
+
var ConfigType;
|
|
2229
|
+
(function (ConfigType) {
|
|
2230
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2231
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2232
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2233
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2234
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2235
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2236
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2237
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2238
|
+
})(Constants = IAMCredentialsConfigurationPrototype.Constants || (IAMCredentialsConfigurationPrototype.Constants = {}));
|
|
2239
|
+
})(IAMCredentialsConfigurationPrototype = SecretsManagerV2.IAMCredentialsConfigurationPrototype || (SecretsManagerV2.IAMCredentialsConfigurationPrototype = {}));
|
|
2240
|
+
var IAMCredentialsSecret;
|
|
2241
|
+
(function (IAMCredentialsSecret) {
|
|
2242
|
+
var Constants;
|
|
2243
|
+
(function (Constants) {
|
|
2244
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2245
|
+
var SecretType;
|
|
2246
|
+
(function (SecretType) {
|
|
2247
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2248
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2249
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2250
|
+
SecretType["KV"] = "kv";
|
|
2251
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2252
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2253
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2254
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2255
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2256
|
+
/** A text representation of the secret state. */
|
|
2257
|
+
var StateDescription;
|
|
2258
|
+
(function (StateDescription) {
|
|
2259
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2260
|
+
StateDescription["ACTIVE"] = "active";
|
|
2261
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2262
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2263
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2264
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2265
|
+
})(Constants = IAMCredentialsSecret.Constants || (IAMCredentialsSecret.Constants = {}));
|
|
2266
|
+
})(IAMCredentialsSecret = SecretsManagerV2.IAMCredentialsSecret || (SecretsManagerV2.IAMCredentialsSecret = {}));
|
|
2267
|
+
var IAMCredentialsSecretMetadata;
|
|
2268
|
+
(function (IAMCredentialsSecretMetadata) {
|
|
2269
|
+
var Constants;
|
|
2270
|
+
(function (Constants) {
|
|
2271
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2272
|
+
var SecretType;
|
|
2273
|
+
(function (SecretType) {
|
|
2274
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2275
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2276
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2277
|
+
SecretType["KV"] = "kv";
|
|
2278
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2279
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2280
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2281
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2282
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2283
|
+
/** A text representation of the secret state. */
|
|
2284
|
+
var StateDescription;
|
|
2285
|
+
(function (StateDescription) {
|
|
2286
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2287
|
+
StateDescription["ACTIVE"] = "active";
|
|
2288
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2289
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2290
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2291
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2292
|
+
})(Constants = IAMCredentialsSecretMetadata.Constants || (IAMCredentialsSecretMetadata.Constants = {}));
|
|
2293
|
+
})(IAMCredentialsSecretMetadata = SecretsManagerV2.IAMCredentialsSecretMetadata || (SecretsManagerV2.IAMCredentialsSecretMetadata = {}));
|
|
2294
|
+
var IAMCredentialsSecretPrototype;
|
|
2295
|
+
(function (IAMCredentialsSecretPrototype) {
|
|
2296
|
+
var Constants;
|
|
2297
|
+
(function (Constants) {
|
|
2298
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2299
|
+
var SecretType;
|
|
2300
|
+
(function (SecretType) {
|
|
2301
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2302
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2303
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2304
|
+
SecretType["KV"] = "kv";
|
|
2305
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2306
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2307
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2308
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2309
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2310
|
+
})(Constants = IAMCredentialsSecretPrototype.Constants || (IAMCredentialsSecretPrototype.Constants = {}));
|
|
2311
|
+
})(IAMCredentialsSecretPrototype = SecretsManagerV2.IAMCredentialsSecretPrototype || (SecretsManagerV2.IAMCredentialsSecretPrototype = {}));
|
|
2312
|
+
var IAMCredentialsSecretVersion;
|
|
2313
|
+
(function (IAMCredentialsSecretVersion) {
|
|
2314
|
+
var Constants;
|
|
2315
|
+
(function (Constants) {
|
|
2316
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2317
|
+
var SecretType;
|
|
2318
|
+
(function (SecretType) {
|
|
2319
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2320
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2321
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2322
|
+
SecretType["KV"] = "kv";
|
|
2323
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2324
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2325
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2326
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2327
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2328
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2329
|
+
var Alias;
|
|
2330
|
+
(function (Alias) {
|
|
2331
|
+
Alias["CURRENT"] = "current";
|
|
2332
|
+
Alias["PREVIOUS"] = "previous";
|
|
2333
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2334
|
+
})(Constants = IAMCredentialsSecretVersion.Constants || (IAMCredentialsSecretVersion.Constants = {}));
|
|
2335
|
+
})(IAMCredentialsSecretVersion = SecretsManagerV2.IAMCredentialsSecretVersion || (SecretsManagerV2.IAMCredentialsSecretVersion = {}));
|
|
2336
|
+
var IAMCredentialsSecretVersionMetadata;
|
|
2337
|
+
(function (IAMCredentialsSecretVersionMetadata) {
|
|
2338
|
+
var Constants;
|
|
2339
|
+
(function (Constants) {
|
|
2340
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2341
|
+
var SecretType;
|
|
2342
|
+
(function (SecretType) {
|
|
2343
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2344
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2345
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2346
|
+
SecretType["KV"] = "kv";
|
|
2347
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2348
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2349
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2350
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2351
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2352
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2353
|
+
var Alias;
|
|
2354
|
+
(function (Alias) {
|
|
2355
|
+
Alias["CURRENT"] = "current";
|
|
2356
|
+
Alias["PREVIOUS"] = "previous";
|
|
2357
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2358
|
+
})(Constants = IAMCredentialsSecretVersionMetadata.Constants || (IAMCredentialsSecretVersionMetadata.Constants = {}));
|
|
2359
|
+
})(IAMCredentialsSecretVersionMetadata = SecretsManagerV2.IAMCredentialsSecretVersionMetadata || (SecretsManagerV2.IAMCredentialsSecretVersionMetadata = {}));
|
|
2360
|
+
var ImportedCertificate;
|
|
2361
|
+
(function (ImportedCertificate) {
|
|
2362
|
+
var Constants;
|
|
2363
|
+
(function (Constants) {
|
|
2364
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2365
|
+
var SecretType;
|
|
2366
|
+
(function (SecretType) {
|
|
2367
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2368
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2369
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2370
|
+
SecretType["KV"] = "kv";
|
|
2371
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2372
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2373
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2374
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2375
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2376
|
+
/** A text representation of the secret state. */
|
|
2377
|
+
var StateDescription;
|
|
2378
|
+
(function (StateDescription) {
|
|
2379
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2380
|
+
StateDescription["ACTIVE"] = "active";
|
|
2381
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2382
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2383
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2384
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2385
|
+
})(Constants = ImportedCertificate.Constants || (ImportedCertificate.Constants = {}));
|
|
2386
|
+
})(ImportedCertificate = SecretsManagerV2.ImportedCertificate || (SecretsManagerV2.ImportedCertificate = {}));
|
|
2387
|
+
var ImportedCertificateMetadata;
|
|
2388
|
+
(function (ImportedCertificateMetadata) {
|
|
2389
|
+
var Constants;
|
|
2390
|
+
(function (Constants) {
|
|
2391
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2392
|
+
var SecretType;
|
|
2393
|
+
(function (SecretType) {
|
|
2394
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2395
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2396
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2397
|
+
SecretType["KV"] = "kv";
|
|
2398
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2399
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2400
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2401
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2402
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2403
|
+
/** A text representation of the secret state. */
|
|
2404
|
+
var StateDescription;
|
|
2405
|
+
(function (StateDescription) {
|
|
2406
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2407
|
+
StateDescription["ACTIVE"] = "active";
|
|
2408
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2409
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2410
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2411
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2412
|
+
})(Constants = ImportedCertificateMetadata.Constants || (ImportedCertificateMetadata.Constants = {}));
|
|
2413
|
+
})(ImportedCertificateMetadata = SecretsManagerV2.ImportedCertificateMetadata || (SecretsManagerV2.ImportedCertificateMetadata = {}));
|
|
2414
|
+
var ImportedCertificatePrototype;
|
|
2415
|
+
(function (ImportedCertificatePrototype) {
|
|
2416
|
+
var Constants;
|
|
2417
|
+
(function (Constants) {
|
|
2418
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2419
|
+
var SecretType;
|
|
2420
|
+
(function (SecretType) {
|
|
2421
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2422
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2423
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2424
|
+
SecretType["KV"] = "kv";
|
|
2425
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2426
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2427
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2428
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2429
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2430
|
+
})(Constants = ImportedCertificatePrototype.Constants || (ImportedCertificatePrototype.Constants = {}));
|
|
2431
|
+
})(ImportedCertificatePrototype = SecretsManagerV2.ImportedCertificatePrototype || (SecretsManagerV2.ImportedCertificatePrototype = {}));
|
|
2432
|
+
var ImportedCertificateVersion;
|
|
2433
|
+
(function (ImportedCertificateVersion) {
|
|
2434
|
+
var Constants;
|
|
2435
|
+
(function (Constants) {
|
|
2436
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2437
|
+
var SecretType;
|
|
2438
|
+
(function (SecretType) {
|
|
2439
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2440
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2441
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2442
|
+
SecretType["KV"] = "kv";
|
|
2443
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2444
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2445
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2446
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2447
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2448
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2449
|
+
var Alias;
|
|
2450
|
+
(function (Alias) {
|
|
2451
|
+
Alias["CURRENT"] = "current";
|
|
2452
|
+
Alias["PREVIOUS"] = "previous";
|
|
2453
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2454
|
+
})(Constants = ImportedCertificateVersion.Constants || (ImportedCertificateVersion.Constants = {}));
|
|
2455
|
+
})(ImportedCertificateVersion = SecretsManagerV2.ImportedCertificateVersion || (SecretsManagerV2.ImportedCertificateVersion = {}));
|
|
2456
|
+
var ImportedCertificateVersionMetadata;
|
|
2457
|
+
(function (ImportedCertificateVersionMetadata) {
|
|
2458
|
+
var Constants;
|
|
2459
|
+
(function (Constants) {
|
|
2460
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2461
|
+
var SecretType;
|
|
2462
|
+
(function (SecretType) {
|
|
2463
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2464
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2465
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2466
|
+
SecretType["KV"] = "kv";
|
|
2467
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2468
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2469
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2470
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2471
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2472
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2473
|
+
var Alias;
|
|
2474
|
+
(function (Alias) {
|
|
2475
|
+
Alias["CURRENT"] = "current";
|
|
2476
|
+
Alias["PREVIOUS"] = "previous";
|
|
2477
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2478
|
+
})(Constants = ImportedCertificateVersionMetadata.Constants || (ImportedCertificateVersionMetadata.Constants = {}));
|
|
2479
|
+
})(ImportedCertificateVersionMetadata = SecretsManagerV2.ImportedCertificateVersionMetadata || (SecretsManagerV2.ImportedCertificateVersionMetadata = {}));
|
|
2480
|
+
var KVSecret;
|
|
2481
|
+
(function (KVSecret) {
|
|
2482
|
+
var Constants;
|
|
2483
|
+
(function (Constants) {
|
|
2484
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2485
|
+
var SecretType;
|
|
2486
|
+
(function (SecretType) {
|
|
2487
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2488
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2489
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2490
|
+
SecretType["KV"] = "kv";
|
|
2491
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2492
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2493
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2494
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2495
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2496
|
+
/** A text representation of the secret state. */
|
|
2497
|
+
var StateDescription;
|
|
2498
|
+
(function (StateDescription) {
|
|
2499
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2500
|
+
StateDescription["ACTIVE"] = "active";
|
|
2501
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2502
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2503
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2504
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2505
|
+
})(Constants = KVSecret.Constants || (KVSecret.Constants = {}));
|
|
2506
|
+
})(KVSecret = SecretsManagerV2.KVSecret || (SecretsManagerV2.KVSecret = {}));
|
|
2507
|
+
var KVSecretMetadata;
|
|
2508
|
+
(function (KVSecretMetadata) {
|
|
2509
|
+
var Constants;
|
|
2510
|
+
(function (Constants) {
|
|
2511
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2512
|
+
var SecretType;
|
|
2513
|
+
(function (SecretType) {
|
|
2514
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2515
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2516
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2517
|
+
SecretType["KV"] = "kv";
|
|
2518
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2519
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2520
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2521
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2522
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2523
|
+
/** A text representation of the secret state. */
|
|
2524
|
+
var StateDescription;
|
|
2525
|
+
(function (StateDescription) {
|
|
2526
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2527
|
+
StateDescription["ACTIVE"] = "active";
|
|
2528
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2529
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2530
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2531
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2532
|
+
})(Constants = KVSecretMetadata.Constants || (KVSecretMetadata.Constants = {}));
|
|
2533
|
+
})(KVSecretMetadata = SecretsManagerV2.KVSecretMetadata || (SecretsManagerV2.KVSecretMetadata = {}));
|
|
2534
|
+
var KVSecretPrototype;
|
|
2535
|
+
(function (KVSecretPrototype) {
|
|
2536
|
+
var Constants;
|
|
2537
|
+
(function (Constants) {
|
|
2538
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2539
|
+
var SecretType;
|
|
2540
|
+
(function (SecretType) {
|
|
2541
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2542
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2543
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2544
|
+
SecretType["KV"] = "kv";
|
|
2545
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2546
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2547
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2548
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2549
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2550
|
+
})(Constants = KVSecretPrototype.Constants || (KVSecretPrototype.Constants = {}));
|
|
2551
|
+
})(KVSecretPrototype = SecretsManagerV2.KVSecretPrototype || (SecretsManagerV2.KVSecretPrototype = {}));
|
|
2552
|
+
var KVSecretVersion;
|
|
2553
|
+
(function (KVSecretVersion) {
|
|
2554
|
+
var Constants;
|
|
2555
|
+
(function (Constants) {
|
|
2556
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2557
|
+
var SecretType;
|
|
2558
|
+
(function (SecretType) {
|
|
2559
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2560
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2561
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2562
|
+
SecretType["KV"] = "kv";
|
|
2563
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2564
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2565
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2566
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2567
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2568
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2569
|
+
var Alias;
|
|
2570
|
+
(function (Alias) {
|
|
2571
|
+
Alias["CURRENT"] = "current";
|
|
2572
|
+
Alias["PREVIOUS"] = "previous";
|
|
2573
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2574
|
+
})(Constants = KVSecretVersion.Constants || (KVSecretVersion.Constants = {}));
|
|
2575
|
+
})(KVSecretVersion = SecretsManagerV2.KVSecretVersion || (SecretsManagerV2.KVSecretVersion = {}));
|
|
2576
|
+
var KVSecretVersionMetadata;
|
|
2577
|
+
(function (KVSecretVersionMetadata) {
|
|
2578
|
+
var Constants;
|
|
2579
|
+
(function (Constants) {
|
|
2580
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2581
|
+
var SecretType;
|
|
2582
|
+
(function (SecretType) {
|
|
2583
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2584
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2585
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2586
|
+
SecretType["KV"] = "kv";
|
|
2587
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2588
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2589
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2590
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2591
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2592
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
2593
|
+
var Alias;
|
|
2594
|
+
(function (Alias) {
|
|
2595
|
+
Alias["CURRENT"] = "current";
|
|
2596
|
+
Alias["PREVIOUS"] = "previous";
|
|
2597
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
2598
|
+
})(Constants = KVSecretVersionMetadata.Constants || (KVSecretVersionMetadata.Constants = {}));
|
|
2599
|
+
})(KVSecretVersionMetadata = SecretsManagerV2.KVSecretVersionMetadata || (SecretsManagerV2.KVSecretVersionMetadata = {}));
|
|
2600
|
+
var PrivateCertificate;
|
|
2601
|
+
(function (PrivateCertificate) {
|
|
2602
|
+
var Constants;
|
|
2603
|
+
(function (Constants) {
|
|
2604
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2605
|
+
var SecretType;
|
|
2606
|
+
(function (SecretType) {
|
|
2607
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2608
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2609
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2610
|
+
SecretType["KV"] = "kv";
|
|
2611
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2612
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2613
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2614
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2615
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2616
|
+
/** A text representation of the secret state. */
|
|
2617
|
+
var StateDescription;
|
|
2618
|
+
(function (StateDescription) {
|
|
2619
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
2620
|
+
StateDescription["ACTIVE"] = "active";
|
|
2621
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
2622
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
2623
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
2624
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
2625
|
+
})(Constants = PrivateCertificate.Constants || (PrivateCertificate.Constants = {}));
|
|
2626
|
+
})(PrivateCertificate = SecretsManagerV2.PrivateCertificate || (SecretsManagerV2.PrivateCertificate = {}));
|
|
2627
|
+
var PrivateCertificateActionRevoke;
|
|
2628
|
+
(function (PrivateCertificateActionRevoke) {
|
|
2629
|
+
var Constants;
|
|
2630
|
+
(function (Constants) {
|
|
2631
|
+
/** The type of secret action. */
|
|
2632
|
+
var ActionType;
|
|
2633
|
+
(function (ActionType) {
|
|
2634
|
+
ActionType["PUBLIC_CERT_ACTION_VALIDATE_DNS_CHALLENGE"] = "public_cert_action_validate_dns_challenge";
|
|
2635
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
2636
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2637
|
+
})(Constants = PrivateCertificateActionRevoke.Constants || (PrivateCertificateActionRevoke.Constants = {}));
|
|
2638
|
+
})(PrivateCertificateActionRevoke = SecretsManagerV2.PrivateCertificateActionRevoke || (SecretsManagerV2.PrivateCertificateActionRevoke = {}));
|
|
2639
|
+
var PrivateCertificateActionRevokePrototype;
|
|
2640
|
+
(function (PrivateCertificateActionRevokePrototype) {
|
|
2641
|
+
var Constants;
|
|
2642
|
+
(function (Constants) {
|
|
2643
|
+
/** The type of secret action. */
|
|
2644
|
+
var ActionType;
|
|
2645
|
+
(function (ActionType) {
|
|
2646
|
+
ActionType["PUBLIC_CERT_ACTION_VALIDATE_DNS_CHALLENGE"] = "public_cert_action_validate_dns_challenge";
|
|
2647
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
2648
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2649
|
+
})(Constants = PrivateCertificateActionRevokePrototype.Constants || (PrivateCertificateActionRevokePrototype.Constants = {}));
|
|
2650
|
+
})(PrivateCertificateActionRevokePrototype = SecretsManagerV2.PrivateCertificateActionRevokePrototype || (SecretsManagerV2.PrivateCertificateActionRevokePrototype = {}));
|
|
2651
|
+
var PrivateCertificateConfigurationActionRevoke;
|
|
2652
|
+
(function (PrivateCertificateConfigurationActionRevoke) {
|
|
2653
|
+
var Constants;
|
|
2654
|
+
(function (Constants) {
|
|
2655
|
+
/** The type of configuration action. */
|
|
2656
|
+
var ActionType;
|
|
2657
|
+
(function (ActionType) {
|
|
2658
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2659
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2660
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2661
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2662
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2663
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2664
|
+
})(Constants = PrivateCertificateConfigurationActionRevoke.Constants || (PrivateCertificateConfigurationActionRevoke.Constants = {}));
|
|
2665
|
+
})(PrivateCertificateConfigurationActionRevoke = SecretsManagerV2.PrivateCertificateConfigurationActionRevoke || (SecretsManagerV2.PrivateCertificateConfigurationActionRevoke = {}));
|
|
2666
|
+
var PrivateCertificateConfigurationActionRevokePrototype;
|
|
2667
|
+
(function (PrivateCertificateConfigurationActionRevokePrototype) {
|
|
2668
|
+
var Constants;
|
|
2669
|
+
(function (Constants) {
|
|
2670
|
+
/** The type of configuration action. */
|
|
2671
|
+
var ActionType;
|
|
2672
|
+
(function (ActionType) {
|
|
2673
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2674
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2675
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2676
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2677
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2678
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2679
|
+
})(Constants = PrivateCertificateConfigurationActionRevokePrototype.Constants || (PrivateCertificateConfigurationActionRevokePrototype.Constants = {}));
|
|
2680
|
+
})(PrivateCertificateConfigurationActionRevokePrototype = SecretsManagerV2.PrivateCertificateConfigurationActionRevokePrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionRevokePrototype = {}));
|
|
2681
|
+
var PrivateCertificateConfigurationActionRotateCRL;
|
|
2682
|
+
(function (PrivateCertificateConfigurationActionRotateCRL) {
|
|
2683
|
+
var Constants;
|
|
2684
|
+
(function (Constants) {
|
|
2685
|
+
/** The type of configuration action. */
|
|
2686
|
+
var ActionType;
|
|
2687
|
+
(function (ActionType) {
|
|
2688
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2689
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2690
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2691
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2692
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2693
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2694
|
+
})(Constants = PrivateCertificateConfigurationActionRotateCRL.Constants || (PrivateCertificateConfigurationActionRotateCRL.Constants = {}));
|
|
2695
|
+
})(PrivateCertificateConfigurationActionRotateCRL = SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRL || (SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRL = {}));
|
|
2696
|
+
var PrivateCertificateConfigurationActionRotateCRLPrototype;
|
|
2697
|
+
(function (PrivateCertificateConfigurationActionRotateCRLPrototype) {
|
|
2698
|
+
var Constants;
|
|
2699
|
+
(function (Constants) {
|
|
2700
|
+
/** The type of configuration action. */
|
|
2701
|
+
var ActionType;
|
|
2702
|
+
(function (ActionType) {
|
|
2703
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2704
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2705
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2706
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2707
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2708
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2709
|
+
})(Constants = PrivateCertificateConfigurationActionRotateCRLPrototype.Constants || (PrivateCertificateConfigurationActionRotateCRLPrototype.Constants = {}));
|
|
2710
|
+
})(PrivateCertificateConfigurationActionRotateCRLPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRLPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionRotateCRLPrototype = {}));
|
|
2711
|
+
var PrivateCertificateConfigurationActionSetSigned;
|
|
2712
|
+
(function (PrivateCertificateConfigurationActionSetSigned) {
|
|
2713
|
+
var Constants;
|
|
2714
|
+
(function (Constants) {
|
|
2715
|
+
/** The type of configuration action. */
|
|
2716
|
+
var ActionType;
|
|
2717
|
+
(function (ActionType) {
|
|
2718
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2719
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2720
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2721
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2722
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2723
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2724
|
+
})(Constants = PrivateCertificateConfigurationActionSetSigned.Constants || (PrivateCertificateConfigurationActionSetSigned.Constants = {}));
|
|
2725
|
+
})(PrivateCertificateConfigurationActionSetSigned = SecretsManagerV2.PrivateCertificateConfigurationActionSetSigned || (SecretsManagerV2.PrivateCertificateConfigurationActionSetSigned = {}));
|
|
2726
|
+
var PrivateCertificateConfigurationActionSetSignedPrototype;
|
|
2727
|
+
(function (PrivateCertificateConfigurationActionSetSignedPrototype) {
|
|
2728
|
+
var Constants;
|
|
2729
|
+
(function (Constants) {
|
|
2730
|
+
/** The type of configuration action. */
|
|
2731
|
+
var ActionType;
|
|
2732
|
+
(function (ActionType) {
|
|
2733
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2734
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2735
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2736
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2737
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2738
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2739
|
+
})(Constants = PrivateCertificateConfigurationActionSetSignedPrototype.Constants || (PrivateCertificateConfigurationActionSetSignedPrototype.Constants = {}));
|
|
2740
|
+
})(PrivateCertificateConfigurationActionSetSignedPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSetSignedPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSetSignedPrototype = {}));
|
|
2741
|
+
var PrivateCertificateConfigurationActionSignCSR;
|
|
2742
|
+
(function (PrivateCertificateConfigurationActionSignCSR) {
|
|
2743
|
+
var Constants;
|
|
2744
|
+
(function (Constants) {
|
|
2745
|
+
/** The format of the returned data. */
|
|
2746
|
+
var Format;
|
|
2747
|
+
(function (Format) {
|
|
2748
|
+
Format["PEM"] = "pem";
|
|
2749
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2750
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2751
|
+
/** The type of configuration action. */
|
|
2752
|
+
var ActionType;
|
|
2753
|
+
(function (ActionType) {
|
|
2754
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2755
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2756
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2757
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2758
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2759
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2760
|
+
})(Constants = PrivateCertificateConfigurationActionSignCSR.Constants || (PrivateCertificateConfigurationActionSignCSR.Constants = {}));
|
|
2761
|
+
})(PrivateCertificateConfigurationActionSignCSR = SecretsManagerV2.PrivateCertificateConfigurationActionSignCSR || (SecretsManagerV2.PrivateCertificateConfigurationActionSignCSR = {}));
|
|
2762
|
+
var PrivateCertificateConfigurationActionSignCSRPrototype;
|
|
2763
|
+
(function (PrivateCertificateConfigurationActionSignCSRPrototype) {
|
|
2764
|
+
var Constants;
|
|
2765
|
+
(function (Constants) {
|
|
2766
|
+
/** The format of the returned data. */
|
|
2767
|
+
var Format;
|
|
2768
|
+
(function (Format) {
|
|
2769
|
+
Format["PEM"] = "pem";
|
|
2770
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2771
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2772
|
+
/** The type of configuration action. */
|
|
2773
|
+
var ActionType;
|
|
2774
|
+
(function (ActionType) {
|
|
2775
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2776
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2777
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2778
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2779
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2780
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2781
|
+
})(Constants = PrivateCertificateConfigurationActionSignCSRPrototype.Constants || (PrivateCertificateConfigurationActionSignCSRPrototype.Constants = {}));
|
|
2782
|
+
})(PrivateCertificateConfigurationActionSignCSRPrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSignCSRPrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSignCSRPrototype = {}));
|
|
2783
|
+
var PrivateCertificateConfigurationActionSignIntermediate;
|
|
2784
|
+
(function (PrivateCertificateConfigurationActionSignIntermediate) {
|
|
2785
|
+
var Constants;
|
|
2786
|
+
(function (Constants) {
|
|
2787
|
+
/** The format of the returned data. */
|
|
2788
|
+
var Format;
|
|
2789
|
+
(function (Format) {
|
|
2790
|
+
Format["PEM"] = "pem";
|
|
2791
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2792
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2793
|
+
/** The type of configuration action. */
|
|
2794
|
+
var ActionType;
|
|
2795
|
+
(function (ActionType) {
|
|
2796
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2797
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2798
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2799
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2800
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2801
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2802
|
+
})(Constants = PrivateCertificateConfigurationActionSignIntermediate.Constants || (PrivateCertificateConfigurationActionSignIntermediate.Constants = {}));
|
|
2803
|
+
})(PrivateCertificateConfigurationActionSignIntermediate = SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediate || (SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediate = {}));
|
|
2804
|
+
var PrivateCertificateConfigurationActionSignIntermediatePrototype;
|
|
2805
|
+
(function (PrivateCertificateConfigurationActionSignIntermediatePrototype) {
|
|
2806
|
+
var Constants;
|
|
2807
|
+
(function (Constants) {
|
|
2808
|
+
/** The format of the returned data. */
|
|
2809
|
+
var Format;
|
|
2810
|
+
(function (Format) {
|
|
2811
|
+
Format["PEM"] = "pem";
|
|
2812
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2813
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2814
|
+
/** The type of configuration action. */
|
|
2815
|
+
var ActionType;
|
|
2816
|
+
(function (ActionType) {
|
|
2817
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_ROTATE_CRL"] = "private_cert_configuration_action_rotate_crl";
|
|
2818
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_INTERMEDIATE"] = "private_cert_configuration_action_sign_intermediate";
|
|
2819
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SIGN_CSR"] = "private_cert_configuration_action_sign_csr";
|
|
2820
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_SET_SIGNED"] = "private_cert_configuration_action_set_signed";
|
|
2821
|
+
ActionType["PRIVATE_CERT_CONFIGURATION_ACTION_REVOKE_CA_CERTIFICATE"] = "private_cert_configuration_action_revoke_ca_certificate";
|
|
2822
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
2823
|
+
})(Constants = PrivateCertificateConfigurationActionSignIntermediatePrototype.Constants || (PrivateCertificateConfigurationActionSignIntermediatePrototype.Constants = {}));
|
|
2824
|
+
})(PrivateCertificateConfigurationActionSignIntermediatePrototype = SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediatePrototype || (SecretsManagerV2.PrivateCertificateConfigurationActionSignIntermediatePrototype = {}));
|
|
2825
|
+
var PrivateCertificateConfigurationIntermediateCA;
|
|
2826
|
+
(function (PrivateCertificateConfigurationIntermediateCA) {
|
|
2827
|
+
var Constants;
|
|
2828
|
+
(function (Constants) {
|
|
2829
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2830
|
+
var ConfigType;
|
|
2831
|
+
(function (ConfigType) {
|
|
2832
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2833
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2834
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2835
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2836
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2837
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2838
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2839
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2840
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2841
|
+
var SecretType;
|
|
2842
|
+
(function (SecretType) {
|
|
2843
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2844
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2845
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2846
|
+
SecretType["KV"] = "kv";
|
|
2847
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2848
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2849
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2850
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2851
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2852
|
+
/** The type of private key to generate. */
|
|
2853
|
+
var KeyType;
|
|
2854
|
+
(function (KeyType) {
|
|
2855
|
+
KeyType["RSA"] = "rsa";
|
|
2856
|
+
KeyType["EC"] = "ec";
|
|
2857
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
2858
|
+
/** The signing method to use with this certificate authority to generate private certificates. You can choose between internal or externally signed options. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-intermediate-certificate-authorities). */
|
|
2859
|
+
var SigningMethod;
|
|
2860
|
+
(function (SigningMethod) {
|
|
2861
|
+
SigningMethod["INTERNAL"] = "internal";
|
|
2862
|
+
SigningMethod["EXTERNAL"] = "external";
|
|
2863
|
+
})(SigningMethod = Constants.SigningMethod || (Constants.SigningMethod = {}));
|
|
2864
|
+
/** The status of the certificate authority. The status of a root certificate authority is either `configured` or `expired`. For intermediate certificate authorities, possible statuses include `signing_required`, `signed_certificate_required`, `certificate_template_required`, `configured`, `expired` or `revoked`. */
|
|
2865
|
+
var Status;
|
|
2866
|
+
(function (Status) {
|
|
2867
|
+
Status["SIGNING_REQUIRED"] = "signing_required";
|
|
2868
|
+
Status["SIGNED_CERTIFICATE_REQUIRED"] = "signed_certificate_required";
|
|
2869
|
+
Status["CERTIFICATE_TEMPLATE_REQUIRED"] = "certificate_template_required";
|
|
2870
|
+
Status["CONFIGURED"] = "configured";
|
|
2871
|
+
Status["EXPIRED"] = "expired";
|
|
2872
|
+
Status["REVOKED"] = "revoked";
|
|
2873
|
+
})(Status = Constants.Status || (Constants.Status = {}));
|
|
2874
|
+
/** The format of the returned data. */
|
|
2875
|
+
var Format;
|
|
2876
|
+
(function (Format) {
|
|
2877
|
+
Format["PEM"] = "pem";
|
|
2878
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2879
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2880
|
+
/** The format of the generated private key. */
|
|
2881
|
+
var PrivateKeyFormat;
|
|
2882
|
+
(function (PrivateKeyFormat) {
|
|
2883
|
+
PrivateKeyFormat["DER"] = "der";
|
|
2884
|
+
PrivateKeyFormat["PKCS8"] = "pkcs8";
|
|
2885
|
+
})(PrivateKeyFormat = Constants.PrivateKeyFormat || (Constants.PrivateKeyFormat = {}));
|
|
2886
|
+
})(Constants = PrivateCertificateConfigurationIntermediateCA.Constants || (PrivateCertificateConfigurationIntermediateCA.Constants = {}));
|
|
2887
|
+
})(PrivateCertificateConfigurationIntermediateCA = SecretsManagerV2.PrivateCertificateConfigurationIntermediateCA || (SecretsManagerV2.PrivateCertificateConfigurationIntermediateCA = {}));
|
|
2888
|
+
var PrivateCertificateConfigurationIntermediateCACSR;
|
|
2889
|
+
(function (PrivateCertificateConfigurationIntermediateCACSR) {
|
|
2890
|
+
var Constants;
|
|
2891
|
+
(function (Constants) {
|
|
2892
|
+
/** The type of private key to generate. */
|
|
2893
|
+
var PrivateKeyType;
|
|
2894
|
+
(function (PrivateKeyType) {
|
|
2895
|
+
PrivateKeyType["RSA"] = "rsa";
|
|
2896
|
+
PrivateKeyType["EC"] = "ec";
|
|
2897
|
+
})(PrivateKeyType = Constants.PrivateKeyType || (Constants.PrivateKeyType = {}));
|
|
2898
|
+
})(Constants = PrivateCertificateConfigurationIntermediateCACSR.Constants || (PrivateCertificateConfigurationIntermediateCACSR.Constants = {}));
|
|
2899
|
+
})(PrivateCertificateConfigurationIntermediateCACSR = SecretsManagerV2.PrivateCertificateConfigurationIntermediateCACSR || (SecretsManagerV2.PrivateCertificateConfigurationIntermediateCACSR = {}));
|
|
2900
|
+
var PrivateCertificateConfigurationIntermediateCAMetadata;
|
|
2901
|
+
(function (PrivateCertificateConfigurationIntermediateCAMetadata) {
|
|
2902
|
+
var Constants;
|
|
2903
|
+
(function (Constants) {
|
|
2904
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2905
|
+
var ConfigType;
|
|
2906
|
+
(function (ConfigType) {
|
|
2907
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2908
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2909
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2910
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2911
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2912
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2913
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2914
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2915
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
2916
|
+
var SecretType;
|
|
2917
|
+
(function (SecretType) {
|
|
2918
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
2919
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
2920
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
2921
|
+
SecretType["KV"] = "kv";
|
|
2922
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
2923
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
2924
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
2925
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
2926
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
2927
|
+
/** The type of private key to generate. */
|
|
2928
|
+
var KeyType;
|
|
2929
|
+
(function (KeyType) {
|
|
2930
|
+
KeyType["RSA"] = "rsa";
|
|
2931
|
+
KeyType["EC"] = "ec";
|
|
2932
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
2933
|
+
/** The signing method to use with this certificate authority to generate private certificates. You can choose between internal or externally signed options. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-intermediate-certificate-authorities). */
|
|
2934
|
+
var SigningMethod;
|
|
2935
|
+
(function (SigningMethod) {
|
|
2936
|
+
SigningMethod["INTERNAL"] = "internal";
|
|
2937
|
+
SigningMethod["EXTERNAL"] = "external";
|
|
2938
|
+
})(SigningMethod = Constants.SigningMethod || (Constants.SigningMethod = {}));
|
|
2939
|
+
/** The status of the certificate authority. The status of a root certificate authority is either `configured` or `expired`. For intermediate certificate authorities, possible statuses include `signing_required`, `signed_certificate_required`, `certificate_template_required`, `configured`, `expired` or `revoked`. */
|
|
2940
|
+
var Status;
|
|
2941
|
+
(function (Status) {
|
|
2942
|
+
Status["SIGNING_REQUIRED"] = "signing_required";
|
|
2943
|
+
Status["SIGNED_CERTIFICATE_REQUIRED"] = "signed_certificate_required";
|
|
2944
|
+
Status["CERTIFICATE_TEMPLATE_REQUIRED"] = "certificate_template_required";
|
|
2945
|
+
Status["CONFIGURED"] = "configured";
|
|
2946
|
+
Status["EXPIRED"] = "expired";
|
|
2947
|
+
Status["REVOKED"] = "revoked";
|
|
2948
|
+
})(Status = Constants.Status || (Constants.Status = {}));
|
|
2949
|
+
})(Constants = PrivateCertificateConfigurationIntermediateCAMetadata.Constants || (PrivateCertificateConfigurationIntermediateCAMetadata.Constants = {}));
|
|
2950
|
+
})(PrivateCertificateConfigurationIntermediateCAMetadata = SecretsManagerV2.PrivateCertificateConfigurationIntermediateCAMetadata || (SecretsManagerV2.PrivateCertificateConfigurationIntermediateCAMetadata = {}));
|
|
2951
|
+
var PrivateCertificateConfigurationIntermediateCAPrototype;
|
|
2952
|
+
(function (PrivateCertificateConfigurationIntermediateCAPrototype) {
|
|
2953
|
+
var Constants;
|
|
2954
|
+
(function (Constants) {
|
|
2955
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2956
|
+
var ConfigType;
|
|
2957
|
+
(function (ConfigType) {
|
|
2958
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
2959
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
2960
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
2961
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
2962
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
2963
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
2964
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
2965
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
2966
|
+
/** The signing method to use with this certificate authority to generate private certificates. You can choose between internal or externally signed options. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-intermediate-certificate-authorities). */
|
|
2967
|
+
var SigningMethod;
|
|
2968
|
+
(function (SigningMethod) {
|
|
2969
|
+
SigningMethod["INTERNAL"] = "internal";
|
|
2970
|
+
SigningMethod["EXTERNAL"] = "external";
|
|
2971
|
+
})(SigningMethod = Constants.SigningMethod || (Constants.SigningMethod = {}));
|
|
2972
|
+
/** The format of the returned data. */
|
|
2973
|
+
var Format;
|
|
2974
|
+
(function (Format) {
|
|
2975
|
+
Format["PEM"] = "pem";
|
|
2976
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
2977
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
2978
|
+
/** The format of the generated private key. */
|
|
2979
|
+
var PrivateKeyFormat;
|
|
2980
|
+
(function (PrivateKeyFormat) {
|
|
2981
|
+
PrivateKeyFormat["DER"] = "der";
|
|
2982
|
+
PrivateKeyFormat["PKCS8"] = "pkcs8";
|
|
2983
|
+
})(PrivateKeyFormat = Constants.PrivateKeyFormat || (Constants.PrivateKeyFormat = {}));
|
|
2984
|
+
/** The type of private key to generate. */
|
|
2985
|
+
var KeyType;
|
|
2986
|
+
(function (KeyType) {
|
|
2987
|
+
KeyType["RSA"] = "rsa";
|
|
2988
|
+
KeyType["EC"] = "ec";
|
|
2989
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
2990
|
+
})(Constants = PrivateCertificateConfigurationIntermediateCAPrototype.Constants || (PrivateCertificateConfigurationIntermediateCAPrototype.Constants = {}));
|
|
2991
|
+
})(PrivateCertificateConfigurationIntermediateCAPrototype = SecretsManagerV2.PrivateCertificateConfigurationIntermediateCAPrototype || (SecretsManagerV2.PrivateCertificateConfigurationIntermediateCAPrototype = {}));
|
|
2992
|
+
var PrivateCertificateConfigurationRootCA;
|
|
2993
|
+
(function (PrivateCertificateConfigurationRootCA) {
|
|
2994
|
+
var Constants;
|
|
2995
|
+
(function (Constants) {
|
|
2996
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
2997
|
+
var ConfigType;
|
|
2998
|
+
(function (ConfigType) {
|
|
2999
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3000
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3001
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3002
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3003
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3004
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3005
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3006
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3007
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3008
|
+
var SecretType;
|
|
3009
|
+
(function (SecretType) {
|
|
3010
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3011
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3012
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3013
|
+
SecretType["KV"] = "kv";
|
|
3014
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3015
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3016
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3017
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3018
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3019
|
+
/** The type of private key to generate. */
|
|
3020
|
+
var KeyType;
|
|
3021
|
+
(function (KeyType) {
|
|
3022
|
+
KeyType["RSA"] = "rsa";
|
|
3023
|
+
KeyType["EC"] = "ec";
|
|
3024
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3025
|
+
/** The status of the certificate authority. The status of a root certificate authority is either `configured` or `expired`. For intermediate certificate authorities, possible statuses include `signing_required`, `signed_certificate_required`, `certificate_template_required`, `configured`, `expired` or `revoked`. */
|
|
3026
|
+
var Status;
|
|
3027
|
+
(function (Status) {
|
|
3028
|
+
Status["SIGNING_REQUIRED"] = "signing_required";
|
|
3029
|
+
Status["SIGNED_CERTIFICATE_REQUIRED"] = "signed_certificate_required";
|
|
3030
|
+
Status["CERTIFICATE_TEMPLATE_REQUIRED"] = "certificate_template_required";
|
|
3031
|
+
Status["CONFIGURED"] = "configured";
|
|
3032
|
+
Status["EXPIRED"] = "expired";
|
|
3033
|
+
Status["REVOKED"] = "revoked";
|
|
3034
|
+
})(Status = Constants.Status || (Constants.Status = {}));
|
|
3035
|
+
/** The format of the returned data. */
|
|
3036
|
+
var Format;
|
|
3037
|
+
(function (Format) {
|
|
3038
|
+
Format["PEM"] = "pem";
|
|
3039
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
3040
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
3041
|
+
/** The format of the generated private key. */
|
|
3042
|
+
var PrivateKeyFormat;
|
|
3043
|
+
(function (PrivateKeyFormat) {
|
|
3044
|
+
PrivateKeyFormat["DER"] = "der";
|
|
3045
|
+
PrivateKeyFormat["PKCS8"] = "pkcs8";
|
|
3046
|
+
})(PrivateKeyFormat = Constants.PrivateKeyFormat || (Constants.PrivateKeyFormat = {}));
|
|
3047
|
+
})(Constants = PrivateCertificateConfigurationRootCA.Constants || (PrivateCertificateConfigurationRootCA.Constants = {}));
|
|
3048
|
+
})(PrivateCertificateConfigurationRootCA = SecretsManagerV2.PrivateCertificateConfigurationRootCA || (SecretsManagerV2.PrivateCertificateConfigurationRootCA = {}));
|
|
3049
|
+
var PrivateCertificateConfigurationRootCAMetadata;
|
|
3050
|
+
(function (PrivateCertificateConfigurationRootCAMetadata) {
|
|
3051
|
+
var Constants;
|
|
3052
|
+
(function (Constants) {
|
|
3053
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3054
|
+
var ConfigType;
|
|
3055
|
+
(function (ConfigType) {
|
|
3056
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3057
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3058
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3059
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3060
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3061
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3062
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3063
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3064
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3065
|
+
var SecretType;
|
|
3066
|
+
(function (SecretType) {
|
|
3067
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3068
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3069
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3070
|
+
SecretType["KV"] = "kv";
|
|
3071
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3072
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3073
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3074
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3075
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3076
|
+
/** The type of private key to generate. */
|
|
3077
|
+
var KeyType;
|
|
3078
|
+
(function (KeyType) {
|
|
3079
|
+
KeyType["RSA"] = "rsa";
|
|
3080
|
+
KeyType["EC"] = "ec";
|
|
3081
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3082
|
+
/** The status of the certificate authority. The status of a root certificate authority is either `configured` or `expired`. For intermediate certificate authorities, possible statuses include `signing_required`, `signed_certificate_required`, `certificate_template_required`, `configured`, `expired` or `revoked`. */
|
|
3083
|
+
var Status;
|
|
3084
|
+
(function (Status) {
|
|
3085
|
+
Status["SIGNING_REQUIRED"] = "signing_required";
|
|
3086
|
+
Status["SIGNED_CERTIFICATE_REQUIRED"] = "signed_certificate_required";
|
|
3087
|
+
Status["CERTIFICATE_TEMPLATE_REQUIRED"] = "certificate_template_required";
|
|
3088
|
+
Status["CONFIGURED"] = "configured";
|
|
3089
|
+
Status["EXPIRED"] = "expired";
|
|
3090
|
+
Status["REVOKED"] = "revoked";
|
|
3091
|
+
})(Status = Constants.Status || (Constants.Status = {}));
|
|
3092
|
+
})(Constants = PrivateCertificateConfigurationRootCAMetadata.Constants || (PrivateCertificateConfigurationRootCAMetadata.Constants = {}));
|
|
3093
|
+
})(PrivateCertificateConfigurationRootCAMetadata = SecretsManagerV2.PrivateCertificateConfigurationRootCAMetadata || (SecretsManagerV2.PrivateCertificateConfigurationRootCAMetadata = {}));
|
|
3094
|
+
var PrivateCertificateConfigurationRootCAPrototype;
|
|
3095
|
+
(function (PrivateCertificateConfigurationRootCAPrototype) {
|
|
3096
|
+
var Constants;
|
|
3097
|
+
(function (Constants) {
|
|
3098
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3099
|
+
var ConfigType;
|
|
3100
|
+
(function (ConfigType) {
|
|
3101
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3102
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3103
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3104
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3105
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3106
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3107
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3108
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3109
|
+
/** The format of the returned data. */
|
|
3110
|
+
var Format;
|
|
3111
|
+
(function (Format) {
|
|
3112
|
+
Format["PEM"] = "pem";
|
|
3113
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
3114
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
3115
|
+
/** The format of the generated private key. */
|
|
3116
|
+
var PrivateKeyFormat;
|
|
3117
|
+
(function (PrivateKeyFormat) {
|
|
3118
|
+
PrivateKeyFormat["DER"] = "der";
|
|
3119
|
+
PrivateKeyFormat["PKCS8"] = "pkcs8";
|
|
3120
|
+
})(PrivateKeyFormat = Constants.PrivateKeyFormat || (Constants.PrivateKeyFormat = {}));
|
|
3121
|
+
/** The type of private key to generate. */
|
|
3122
|
+
var KeyType;
|
|
3123
|
+
(function (KeyType) {
|
|
3124
|
+
KeyType["RSA"] = "rsa";
|
|
3125
|
+
KeyType["EC"] = "ec";
|
|
3126
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3127
|
+
})(Constants = PrivateCertificateConfigurationRootCAPrototype.Constants || (PrivateCertificateConfigurationRootCAPrototype.Constants = {}));
|
|
3128
|
+
})(PrivateCertificateConfigurationRootCAPrototype = SecretsManagerV2.PrivateCertificateConfigurationRootCAPrototype || (SecretsManagerV2.PrivateCertificateConfigurationRootCAPrototype = {}));
|
|
3129
|
+
var PrivateCertificateConfigurationTemplate;
|
|
3130
|
+
(function (PrivateCertificateConfigurationTemplate) {
|
|
3131
|
+
var Constants;
|
|
3132
|
+
(function (Constants) {
|
|
3133
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3134
|
+
var ConfigType;
|
|
3135
|
+
(function (ConfigType) {
|
|
3136
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3137
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3138
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3139
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3140
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3141
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3142
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3143
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3144
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3145
|
+
var SecretType;
|
|
3146
|
+
(function (SecretType) {
|
|
3147
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3148
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3149
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3150
|
+
SecretType["KV"] = "kv";
|
|
3151
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3152
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3153
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3154
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3155
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3156
|
+
/** The type of private key to generate. */
|
|
3157
|
+
var KeyType;
|
|
3158
|
+
(function (KeyType) {
|
|
3159
|
+
KeyType["RSA"] = "rsa";
|
|
3160
|
+
KeyType["EC"] = "ec";
|
|
3161
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3162
|
+
})(Constants = PrivateCertificateConfigurationTemplate.Constants || (PrivateCertificateConfigurationTemplate.Constants = {}));
|
|
3163
|
+
})(PrivateCertificateConfigurationTemplate = SecretsManagerV2.PrivateCertificateConfigurationTemplate || (SecretsManagerV2.PrivateCertificateConfigurationTemplate = {}));
|
|
3164
|
+
var PrivateCertificateConfigurationTemplateMetadata;
|
|
3165
|
+
(function (PrivateCertificateConfigurationTemplateMetadata) {
|
|
3166
|
+
var Constants;
|
|
3167
|
+
(function (Constants) {
|
|
3168
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3169
|
+
var ConfigType;
|
|
3170
|
+
(function (ConfigType) {
|
|
3171
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3172
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3173
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3174
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3175
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3176
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3177
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3178
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3179
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3180
|
+
var SecretType;
|
|
3181
|
+
(function (SecretType) {
|
|
3182
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3183
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3184
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3185
|
+
SecretType["KV"] = "kv";
|
|
3186
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3187
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3188
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3189
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3190
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3191
|
+
})(Constants = PrivateCertificateConfigurationTemplateMetadata.Constants || (PrivateCertificateConfigurationTemplateMetadata.Constants = {}));
|
|
3192
|
+
})(PrivateCertificateConfigurationTemplateMetadata = SecretsManagerV2.PrivateCertificateConfigurationTemplateMetadata || (SecretsManagerV2.PrivateCertificateConfigurationTemplateMetadata = {}));
|
|
3193
|
+
var PrivateCertificateConfigurationTemplatePatch;
|
|
3194
|
+
(function (PrivateCertificateConfigurationTemplatePatch) {
|
|
3195
|
+
var Constants;
|
|
3196
|
+
(function (Constants) {
|
|
3197
|
+
/** The type of private key to generate. */
|
|
3198
|
+
var KeyType;
|
|
3199
|
+
(function (KeyType) {
|
|
3200
|
+
KeyType["RSA"] = "rsa";
|
|
3201
|
+
KeyType["EC"] = "ec";
|
|
3202
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3203
|
+
})(Constants = PrivateCertificateConfigurationTemplatePatch.Constants || (PrivateCertificateConfigurationTemplatePatch.Constants = {}));
|
|
3204
|
+
})(PrivateCertificateConfigurationTemplatePatch = SecretsManagerV2.PrivateCertificateConfigurationTemplatePatch || (SecretsManagerV2.PrivateCertificateConfigurationTemplatePatch = {}));
|
|
3205
|
+
var PrivateCertificateConfigurationTemplatePrototype;
|
|
3206
|
+
(function (PrivateCertificateConfigurationTemplatePrototype) {
|
|
3207
|
+
var Constants;
|
|
3208
|
+
(function (Constants) {
|
|
3209
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3210
|
+
var ConfigType;
|
|
3211
|
+
(function (ConfigType) {
|
|
3212
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3213
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3214
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3215
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3216
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3217
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3218
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3219
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3220
|
+
/** The type of private key to generate. */
|
|
3221
|
+
var KeyType;
|
|
3222
|
+
(function (KeyType) {
|
|
3223
|
+
KeyType["RSA"] = "rsa";
|
|
3224
|
+
KeyType["EC"] = "ec";
|
|
3225
|
+
})(KeyType = Constants.KeyType || (Constants.KeyType = {}));
|
|
3226
|
+
})(Constants = PrivateCertificateConfigurationTemplatePrototype.Constants || (PrivateCertificateConfigurationTemplatePrototype.Constants = {}));
|
|
3227
|
+
})(PrivateCertificateConfigurationTemplatePrototype = SecretsManagerV2.PrivateCertificateConfigurationTemplatePrototype || (SecretsManagerV2.PrivateCertificateConfigurationTemplatePrototype = {}));
|
|
3228
|
+
var PrivateCertificateMetadata;
|
|
3229
|
+
(function (PrivateCertificateMetadata) {
|
|
3230
|
+
var Constants;
|
|
3231
|
+
(function (Constants) {
|
|
3232
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3233
|
+
var SecretType;
|
|
3234
|
+
(function (SecretType) {
|
|
3235
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3236
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3237
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3238
|
+
SecretType["KV"] = "kv";
|
|
3239
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3240
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3241
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3242
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3243
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3244
|
+
/** A text representation of the secret state. */
|
|
3245
|
+
var StateDescription;
|
|
3246
|
+
(function (StateDescription) {
|
|
3247
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3248
|
+
StateDescription["ACTIVE"] = "active";
|
|
3249
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3250
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3251
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3252
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3253
|
+
})(Constants = PrivateCertificateMetadata.Constants || (PrivateCertificateMetadata.Constants = {}));
|
|
3254
|
+
})(PrivateCertificateMetadata = SecretsManagerV2.PrivateCertificateMetadata || (SecretsManagerV2.PrivateCertificateMetadata = {}));
|
|
3255
|
+
var PrivateCertificatePrototype;
|
|
3256
|
+
(function (PrivateCertificatePrototype) {
|
|
3257
|
+
var Constants;
|
|
3258
|
+
(function (Constants) {
|
|
3259
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3260
|
+
var SecretType;
|
|
3261
|
+
(function (SecretType) {
|
|
3262
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3263
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3264
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3265
|
+
SecretType["KV"] = "kv";
|
|
3266
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3267
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3268
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3269
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3270
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3271
|
+
/** The format of the returned data. */
|
|
3272
|
+
var Format;
|
|
3273
|
+
(function (Format) {
|
|
3274
|
+
Format["PEM"] = "pem";
|
|
3275
|
+
Format["PEM_BUNDLE"] = "pem_bundle";
|
|
3276
|
+
})(Format = Constants.Format || (Constants.Format = {}));
|
|
3277
|
+
/** The format of the generated private key. */
|
|
3278
|
+
var PrivateKeyFormat;
|
|
3279
|
+
(function (PrivateKeyFormat) {
|
|
3280
|
+
PrivateKeyFormat["DER"] = "der";
|
|
3281
|
+
PrivateKeyFormat["PKCS8"] = "pkcs8";
|
|
3282
|
+
})(PrivateKeyFormat = Constants.PrivateKeyFormat || (Constants.PrivateKeyFormat = {}));
|
|
3283
|
+
})(Constants = PrivateCertificatePrototype.Constants || (PrivateCertificatePrototype.Constants = {}));
|
|
3284
|
+
})(PrivateCertificatePrototype = SecretsManagerV2.PrivateCertificatePrototype || (SecretsManagerV2.PrivateCertificatePrototype = {}));
|
|
3285
|
+
var PrivateCertificateVersion;
|
|
3286
|
+
(function (PrivateCertificateVersion) {
|
|
3287
|
+
var Constants;
|
|
3288
|
+
(function (Constants) {
|
|
3289
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3290
|
+
var SecretType;
|
|
3291
|
+
(function (SecretType) {
|
|
3292
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3293
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3294
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3295
|
+
SecretType["KV"] = "kv";
|
|
3296
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3297
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3298
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3299
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3300
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3301
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3302
|
+
var Alias;
|
|
3303
|
+
(function (Alias) {
|
|
3304
|
+
Alias["CURRENT"] = "current";
|
|
3305
|
+
Alias["PREVIOUS"] = "previous";
|
|
3306
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3307
|
+
})(Constants = PrivateCertificateVersion.Constants || (PrivateCertificateVersion.Constants = {}));
|
|
3308
|
+
})(PrivateCertificateVersion = SecretsManagerV2.PrivateCertificateVersion || (SecretsManagerV2.PrivateCertificateVersion = {}));
|
|
3309
|
+
var PrivateCertificateVersionActionRevoke;
|
|
3310
|
+
(function (PrivateCertificateVersionActionRevoke) {
|
|
3311
|
+
var Constants;
|
|
3312
|
+
(function (Constants) {
|
|
3313
|
+
/** The type of secret version action. */
|
|
3314
|
+
var ActionType;
|
|
3315
|
+
(function (ActionType) {
|
|
3316
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
3317
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
3318
|
+
})(Constants = PrivateCertificateVersionActionRevoke.Constants || (PrivateCertificateVersionActionRevoke.Constants = {}));
|
|
3319
|
+
})(PrivateCertificateVersionActionRevoke = SecretsManagerV2.PrivateCertificateVersionActionRevoke || (SecretsManagerV2.PrivateCertificateVersionActionRevoke = {}));
|
|
3320
|
+
var PrivateCertificateVersionActionRevokePrototype;
|
|
3321
|
+
(function (PrivateCertificateVersionActionRevokePrototype) {
|
|
3322
|
+
var Constants;
|
|
3323
|
+
(function (Constants) {
|
|
3324
|
+
/** The type of secret version action. */
|
|
3325
|
+
var ActionType;
|
|
3326
|
+
(function (ActionType) {
|
|
3327
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
3328
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
3329
|
+
})(Constants = PrivateCertificateVersionActionRevokePrototype.Constants || (PrivateCertificateVersionActionRevokePrototype.Constants = {}));
|
|
3330
|
+
})(PrivateCertificateVersionActionRevokePrototype = SecretsManagerV2.PrivateCertificateVersionActionRevokePrototype || (SecretsManagerV2.PrivateCertificateVersionActionRevokePrototype = {}));
|
|
3331
|
+
var PrivateCertificateVersionMetadata;
|
|
3332
|
+
(function (PrivateCertificateVersionMetadata) {
|
|
3333
|
+
var Constants;
|
|
3334
|
+
(function (Constants) {
|
|
3335
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3336
|
+
var SecretType;
|
|
3337
|
+
(function (SecretType) {
|
|
3338
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3339
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3340
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3341
|
+
SecretType["KV"] = "kv";
|
|
3342
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3343
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3344
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3345
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3346
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3347
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3348
|
+
var Alias;
|
|
3349
|
+
(function (Alias) {
|
|
3350
|
+
Alias["CURRENT"] = "current";
|
|
3351
|
+
Alias["PREVIOUS"] = "previous";
|
|
3352
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3353
|
+
})(Constants = PrivateCertificateVersionMetadata.Constants || (PrivateCertificateVersionMetadata.Constants = {}));
|
|
3354
|
+
})(PrivateCertificateVersionMetadata = SecretsManagerV2.PrivateCertificateVersionMetadata || (SecretsManagerV2.PrivateCertificateVersionMetadata = {}));
|
|
3355
|
+
var PublicCertificate;
|
|
3356
|
+
(function (PublicCertificate) {
|
|
3357
|
+
var Constants;
|
|
3358
|
+
(function (Constants) {
|
|
3359
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3360
|
+
var SecretType;
|
|
3361
|
+
(function (SecretType) {
|
|
3362
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3363
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3364
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3365
|
+
SecretType["KV"] = "kv";
|
|
3366
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3367
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3368
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3369
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3370
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3371
|
+
/** A text representation of the secret state. */
|
|
3372
|
+
var StateDescription;
|
|
3373
|
+
(function (StateDescription) {
|
|
3374
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3375
|
+
StateDescription["ACTIVE"] = "active";
|
|
3376
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3377
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3378
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3379
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3380
|
+
})(Constants = PublicCertificate.Constants || (PublicCertificate.Constants = {}));
|
|
3381
|
+
})(PublicCertificate = SecretsManagerV2.PublicCertificate || (SecretsManagerV2.PublicCertificate = {}));
|
|
3382
|
+
var PublicCertificateActionValidateManualDNS;
|
|
3383
|
+
(function (PublicCertificateActionValidateManualDNS) {
|
|
3384
|
+
var Constants;
|
|
3385
|
+
(function (Constants) {
|
|
3386
|
+
/** The type of secret action. */
|
|
3387
|
+
var ActionType;
|
|
3388
|
+
(function (ActionType) {
|
|
3389
|
+
ActionType["PUBLIC_CERT_ACTION_VALIDATE_DNS_CHALLENGE"] = "public_cert_action_validate_dns_challenge";
|
|
3390
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
3391
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
3392
|
+
})(Constants = PublicCertificateActionValidateManualDNS.Constants || (PublicCertificateActionValidateManualDNS.Constants = {}));
|
|
3393
|
+
})(PublicCertificateActionValidateManualDNS = SecretsManagerV2.PublicCertificateActionValidateManualDNS || (SecretsManagerV2.PublicCertificateActionValidateManualDNS = {}));
|
|
3394
|
+
var PublicCertificateActionValidateManualDNSPrototype;
|
|
3395
|
+
(function (PublicCertificateActionValidateManualDNSPrototype) {
|
|
3396
|
+
var Constants;
|
|
3397
|
+
(function (Constants) {
|
|
3398
|
+
/** The type of secret action. */
|
|
3399
|
+
var ActionType;
|
|
3400
|
+
(function (ActionType) {
|
|
3401
|
+
ActionType["PUBLIC_CERT_ACTION_VALIDATE_DNS_CHALLENGE"] = "public_cert_action_validate_dns_challenge";
|
|
3402
|
+
ActionType["PRIVATE_CERT_ACTION_REVOKE_CERTIFICATE"] = "private_cert_action_revoke_certificate";
|
|
3403
|
+
})(ActionType = Constants.ActionType || (Constants.ActionType = {}));
|
|
3404
|
+
})(Constants = PublicCertificateActionValidateManualDNSPrototype.Constants || (PublicCertificateActionValidateManualDNSPrototype.Constants = {}));
|
|
3405
|
+
})(PublicCertificateActionValidateManualDNSPrototype = SecretsManagerV2.PublicCertificateActionValidateManualDNSPrototype || (SecretsManagerV2.PublicCertificateActionValidateManualDNSPrototype = {}));
|
|
3406
|
+
var PublicCertificateConfigurationCALetsEncrypt;
|
|
3407
|
+
(function (PublicCertificateConfigurationCALetsEncrypt) {
|
|
3408
|
+
var Constants;
|
|
3409
|
+
(function (Constants) {
|
|
3410
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3411
|
+
var ConfigType;
|
|
3412
|
+
(function (ConfigType) {
|
|
3413
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3414
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3415
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3416
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3417
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3418
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3419
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3420
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3421
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3422
|
+
var SecretType;
|
|
3423
|
+
(function (SecretType) {
|
|
3424
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3425
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3426
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3427
|
+
SecretType["KV"] = "kv";
|
|
3428
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3429
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3430
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3431
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3432
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3433
|
+
/** The configuration of the Let's Encrypt CA environment. */
|
|
3434
|
+
var LetsEncryptEnvironment;
|
|
3435
|
+
(function (LetsEncryptEnvironment) {
|
|
3436
|
+
LetsEncryptEnvironment["PRODUCTION"] = "production";
|
|
3437
|
+
LetsEncryptEnvironment["STAGING"] = "staging";
|
|
3438
|
+
})(LetsEncryptEnvironment = Constants.LetsEncryptEnvironment || (Constants.LetsEncryptEnvironment = {}));
|
|
3439
|
+
})(Constants = PublicCertificateConfigurationCALetsEncrypt.Constants || (PublicCertificateConfigurationCALetsEncrypt.Constants = {}));
|
|
3440
|
+
})(PublicCertificateConfigurationCALetsEncrypt = SecretsManagerV2.PublicCertificateConfigurationCALetsEncrypt || (SecretsManagerV2.PublicCertificateConfigurationCALetsEncrypt = {}));
|
|
3441
|
+
var PublicCertificateConfigurationCALetsEncryptMetadata;
|
|
3442
|
+
(function (PublicCertificateConfigurationCALetsEncryptMetadata) {
|
|
3443
|
+
var Constants;
|
|
3444
|
+
(function (Constants) {
|
|
3445
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3446
|
+
var ConfigType;
|
|
3447
|
+
(function (ConfigType) {
|
|
3448
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3449
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3450
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3451
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3452
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3453
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3454
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3455
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3456
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3457
|
+
var SecretType;
|
|
3458
|
+
(function (SecretType) {
|
|
3459
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3460
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3461
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3462
|
+
SecretType["KV"] = "kv";
|
|
3463
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3464
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3465
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3466
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3467
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3468
|
+
/** The configuration of the Let's Encrypt CA environment. */
|
|
3469
|
+
var LetsEncryptEnvironment;
|
|
3470
|
+
(function (LetsEncryptEnvironment) {
|
|
3471
|
+
LetsEncryptEnvironment["PRODUCTION"] = "production";
|
|
3472
|
+
LetsEncryptEnvironment["STAGING"] = "staging";
|
|
3473
|
+
})(LetsEncryptEnvironment = Constants.LetsEncryptEnvironment || (Constants.LetsEncryptEnvironment = {}));
|
|
3474
|
+
})(Constants = PublicCertificateConfigurationCALetsEncryptMetadata.Constants || (PublicCertificateConfigurationCALetsEncryptMetadata.Constants = {}));
|
|
3475
|
+
})(PublicCertificateConfigurationCALetsEncryptMetadata = SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptMetadata || (SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptMetadata = {}));
|
|
3476
|
+
var PublicCertificateConfigurationCALetsEncryptPatch;
|
|
3477
|
+
(function (PublicCertificateConfigurationCALetsEncryptPatch) {
|
|
3478
|
+
var Constants;
|
|
3479
|
+
(function (Constants) {
|
|
3480
|
+
/** The configuration of the Let's Encrypt CA environment. */
|
|
3481
|
+
var LetsEncryptEnvironment;
|
|
3482
|
+
(function (LetsEncryptEnvironment) {
|
|
3483
|
+
LetsEncryptEnvironment["PRODUCTION"] = "production";
|
|
3484
|
+
LetsEncryptEnvironment["STAGING"] = "staging";
|
|
3485
|
+
})(LetsEncryptEnvironment = Constants.LetsEncryptEnvironment || (Constants.LetsEncryptEnvironment = {}));
|
|
3486
|
+
})(Constants = PublicCertificateConfigurationCALetsEncryptPatch.Constants || (PublicCertificateConfigurationCALetsEncryptPatch.Constants = {}));
|
|
3487
|
+
})(PublicCertificateConfigurationCALetsEncryptPatch = SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptPatch || (SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptPatch = {}));
|
|
3488
|
+
var PublicCertificateConfigurationCALetsEncryptPrototype;
|
|
3489
|
+
(function (PublicCertificateConfigurationCALetsEncryptPrototype) {
|
|
3490
|
+
var Constants;
|
|
3491
|
+
(function (Constants) {
|
|
3492
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3493
|
+
var ConfigType;
|
|
3494
|
+
(function (ConfigType) {
|
|
3495
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3496
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3497
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3498
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3499
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3500
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3501
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3502
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3503
|
+
/** The configuration of the Let's Encrypt CA environment. */
|
|
3504
|
+
var LetsEncryptEnvironment;
|
|
3505
|
+
(function (LetsEncryptEnvironment) {
|
|
3506
|
+
LetsEncryptEnvironment["PRODUCTION"] = "production";
|
|
3507
|
+
LetsEncryptEnvironment["STAGING"] = "staging";
|
|
3508
|
+
})(LetsEncryptEnvironment = Constants.LetsEncryptEnvironment || (Constants.LetsEncryptEnvironment = {}));
|
|
3509
|
+
})(Constants = PublicCertificateConfigurationCALetsEncryptPrototype.Constants || (PublicCertificateConfigurationCALetsEncryptPrototype.Constants = {}));
|
|
3510
|
+
})(PublicCertificateConfigurationCALetsEncryptPrototype = SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptPrototype || (SecretsManagerV2.PublicCertificateConfigurationCALetsEncryptPrototype = {}));
|
|
3511
|
+
var PublicCertificateConfigurationDNSClassicInfrastructure;
|
|
3512
|
+
(function (PublicCertificateConfigurationDNSClassicInfrastructure) {
|
|
3513
|
+
var Constants;
|
|
3514
|
+
(function (Constants) {
|
|
3515
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3516
|
+
var ConfigType;
|
|
3517
|
+
(function (ConfigType) {
|
|
3518
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3519
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3520
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3521
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3522
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3523
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3524
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3525
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3526
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3527
|
+
var SecretType;
|
|
3528
|
+
(function (SecretType) {
|
|
3529
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3530
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3531
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3532
|
+
SecretType["KV"] = "kv";
|
|
3533
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3534
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3535
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3536
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3537
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3538
|
+
})(Constants = PublicCertificateConfigurationDNSClassicInfrastructure.Constants || (PublicCertificateConfigurationDNSClassicInfrastructure.Constants = {}));
|
|
3539
|
+
})(PublicCertificateConfigurationDNSClassicInfrastructure = SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructure || (SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructure = {}));
|
|
3540
|
+
var PublicCertificateConfigurationDNSClassicInfrastructureMetadata;
|
|
3541
|
+
(function (PublicCertificateConfigurationDNSClassicInfrastructureMetadata) {
|
|
3542
|
+
var Constants;
|
|
3543
|
+
(function (Constants) {
|
|
3544
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3545
|
+
var ConfigType;
|
|
3546
|
+
(function (ConfigType) {
|
|
3547
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3548
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3549
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3550
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3551
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3552
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3553
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3554
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3555
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3556
|
+
var SecretType;
|
|
3557
|
+
(function (SecretType) {
|
|
3558
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3559
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3560
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3561
|
+
SecretType["KV"] = "kv";
|
|
3562
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3563
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3564
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3565
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3566
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3567
|
+
})(Constants = PublicCertificateConfigurationDNSClassicInfrastructureMetadata.Constants || (PublicCertificateConfigurationDNSClassicInfrastructureMetadata.Constants = {}));
|
|
3568
|
+
})(PublicCertificateConfigurationDNSClassicInfrastructureMetadata = SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructureMetadata || (SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructureMetadata = {}));
|
|
3569
|
+
var PublicCertificateConfigurationDNSClassicInfrastructurePrototype;
|
|
3570
|
+
(function (PublicCertificateConfigurationDNSClassicInfrastructurePrototype) {
|
|
3571
|
+
var Constants;
|
|
3572
|
+
(function (Constants) {
|
|
3573
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3574
|
+
var ConfigType;
|
|
3575
|
+
(function (ConfigType) {
|
|
3576
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3577
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3578
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3579
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3580
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3581
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3582
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3583
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3584
|
+
})(Constants = PublicCertificateConfigurationDNSClassicInfrastructurePrototype.Constants || (PublicCertificateConfigurationDNSClassicInfrastructurePrototype.Constants = {}));
|
|
3585
|
+
})(PublicCertificateConfigurationDNSClassicInfrastructurePrototype = SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructurePrototype || (SecretsManagerV2.PublicCertificateConfigurationDNSClassicInfrastructurePrototype = {}));
|
|
3586
|
+
var PublicCertificateConfigurationDNSCloudInternetServices;
|
|
3587
|
+
(function (PublicCertificateConfigurationDNSCloudInternetServices) {
|
|
3588
|
+
var Constants;
|
|
3589
|
+
(function (Constants) {
|
|
3590
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3591
|
+
var ConfigType;
|
|
3592
|
+
(function (ConfigType) {
|
|
3593
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3594
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3595
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3596
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3597
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3598
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3599
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3600
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3601
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3602
|
+
var SecretType;
|
|
3603
|
+
(function (SecretType) {
|
|
3604
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3605
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3606
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3607
|
+
SecretType["KV"] = "kv";
|
|
3608
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3609
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3610
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3611
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3612
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3613
|
+
})(Constants = PublicCertificateConfigurationDNSCloudInternetServices.Constants || (PublicCertificateConfigurationDNSCloudInternetServices.Constants = {}));
|
|
3614
|
+
})(PublicCertificateConfigurationDNSCloudInternetServices = SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServices || (SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServices = {}));
|
|
3615
|
+
var PublicCertificateConfigurationDNSCloudInternetServicesMetadata;
|
|
3616
|
+
(function (PublicCertificateConfigurationDNSCloudInternetServicesMetadata) {
|
|
3617
|
+
var Constants;
|
|
3618
|
+
(function (Constants) {
|
|
3619
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3620
|
+
var ConfigType;
|
|
3621
|
+
(function (ConfigType) {
|
|
3622
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3623
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3624
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3625
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3626
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3627
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3628
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3629
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3630
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3631
|
+
var SecretType;
|
|
3632
|
+
(function (SecretType) {
|
|
3633
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3634
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3635
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3636
|
+
SecretType["KV"] = "kv";
|
|
3637
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3638
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3639
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3640
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3641
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3642
|
+
})(Constants = PublicCertificateConfigurationDNSCloudInternetServicesMetadata.Constants || (PublicCertificateConfigurationDNSCloudInternetServicesMetadata.Constants = {}));
|
|
3643
|
+
})(PublicCertificateConfigurationDNSCloudInternetServicesMetadata = SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServicesMetadata || (SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServicesMetadata = {}));
|
|
3644
|
+
var PublicCertificateConfigurationDNSCloudInternetServicesPrototype;
|
|
3645
|
+
(function (PublicCertificateConfigurationDNSCloudInternetServicesPrototype) {
|
|
3646
|
+
var Constants;
|
|
3647
|
+
(function (Constants) {
|
|
3648
|
+
/** The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template. */
|
|
3649
|
+
var ConfigType;
|
|
3650
|
+
(function (ConfigType) {
|
|
3651
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_CA_LETS_ENCRYPT"] = "public_cert_configuration_ca_lets_encrypt";
|
|
3652
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLASSIC_INFRASTRUCTURE"] = "public_cert_configuration_dns_classic_infrastructure";
|
|
3653
|
+
ConfigType["PUBLIC_CERT_CONFIGURATION_DNS_CLOUD_INTERNET_SERVICES"] = "public_cert_configuration_dns_cloud_internet_services";
|
|
3654
|
+
ConfigType["IAM_CREDENTIALS_CONFIGURATION"] = "iam_credentials_configuration";
|
|
3655
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_ROOT_CA"] = "private_cert_configuration_root_ca";
|
|
3656
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_INTERMEDIATE_CA"] = "private_cert_configuration_intermediate_ca";
|
|
3657
|
+
ConfigType["PRIVATE_CERT_CONFIGURATION_TEMPLATE"] = "private_cert_configuration_template";
|
|
3658
|
+
})(ConfigType = Constants.ConfigType || (Constants.ConfigType = {}));
|
|
3659
|
+
})(Constants = PublicCertificateConfigurationDNSCloudInternetServicesPrototype.Constants || (PublicCertificateConfigurationDNSCloudInternetServicesPrototype.Constants = {}));
|
|
3660
|
+
})(PublicCertificateConfigurationDNSCloudInternetServicesPrototype = SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServicesPrototype || (SecretsManagerV2.PublicCertificateConfigurationDNSCloudInternetServicesPrototype = {}));
|
|
3661
|
+
var PublicCertificateMetadata;
|
|
3662
|
+
(function (PublicCertificateMetadata) {
|
|
3663
|
+
var Constants;
|
|
3664
|
+
(function (Constants) {
|
|
3665
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3666
|
+
var SecretType;
|
|
3667
|
+
(function (SecretType) {
|
|
3668
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3669
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3670
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3671
|
+
SecretType["KV"] = "kv";
|
|
3672
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3673
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3674
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3675
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3676
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3677
|
+
/** A text representation of the secret state. */
|
|
3678
|
+
var StateDescription;
|
|
3679
|
+
(function (StateDescription) {
|
|
3680
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3681
|
+
StateDescription["ACTIVE"] = "active";
|
|
3682
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3683
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3684
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3685
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3686
|
+
})(Constants = PublicCertificateMetadata.Constants || (PublicCertificateMetadata.Constants = {}));
|
|
3687
|
+
})(PublicCertificateMetadata = SecretsManagerV2.PublicCertificateMetadata || (SecretsManagerV2.PublicCertificateMetadata = {}));
|
|
3688
|
+
var PublicCertificatePrototype;
|
|
3689
|
+
(function (PublicCertificatePrototype) {
|
|
3690
|
+
var Constants;
|
|
3691
|
+
(function (Constants) {
|
|
3692
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3693
|
+
var SecretType;
|
|
3694
|
+
(function (SecretType) {
|
|
3695
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3696
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3697
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3698
|
+
SecretType["KV"] = "kv";
|
|
3699
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3700
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3701
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3702
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3703
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3704
|
+
})(Constants = PublicCertificatePrototype.Constants || (PublicCertificatePrototype.Constants = {}));
|
|
3705
|
+
})(PublicCertificatePrototype = SecretsManagerV2.PublicCertificatePrototype || (SecretsManagerV2.PublicCertificatePrototype = {}));
|
|
3706
|
+
var PublicCertificateVersion;
|
|
3707
|
+
(function (PublicCertificateVersion) {
|
|
3708
|
+
var Constants;
|
|
3709
|
+
(function (Constants) {
|
|
3710
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3711
|
+
var SecretType;
|
|
3712
|
+
(function (SecretType) {
|
|
3713
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3714
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3715
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3716
|
+
SecretType["KV"] = "kv";
|
|
3717
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3718
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3719
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3720
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3721
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3722
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3723
|
+
var Alias;
|
|
3724
|
+
(function (Alias) {
|
|
3725
|
+
Alias["CURRENT"] = "current";
|
|
3726
|
+
Alias["PREVIOUS"] = "previous";
|
|
3727
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3728
|
+
})(Constants = PublicCertificateVersion.Constants || (PublicCertificateVersion.Constants = {}));
|
|
3729
|
+
})(PublicCertificateVersion = SecretsManagerV2.PublicCertificateVersion || (SecretsManagerV2.PublicCertificateVersion = {}));
|
|
3730
|
+
var PublicCertificateVersionMetadata;
|
|
3731
|
+
(function (PublicCertificateVersionMetadata) {
|
|
3732
|
+
var Constants;
|
|
3733
|
+
(function (Constants) {
|
|
3734
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3735
|
+
var SecretType;
|
|
3736
|
+
(function (SecretType) {
|
|
3737
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3738
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3739
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3740
|
+
SecretType["KV"] = "kv";
|
|
3741
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3742
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3743
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3744
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3745
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3746
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3747
|
+
var Alias;
|
|
3748
|
+
(function (Alias) {
|
|
3749
|
+
Alias["CURRENT"] = "current";
|
|
3750
|
+
Alias["PREVIOUS"] = "previous";
|
|
3751
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3752
|
+
})(Constants = PublicCertificateVersionMetadata.Constants || (PublicCertificateVersionMetadata.Constants = {}));
|
|
3753
|
+
})(PublicCertificateVersionMetadata = SecretsManagerV2.PublicCertificateVersionMetadata || (SecretsManagerV2.PublicCertificateVersionMetadata = {}));
|
|
3754
|
+
var ServiceCredentialsSecret;
|
|
3755
|
+
(function (ServiceCredentialsSecret) {
|
|
3756
|
+
var Constants;
|
|
3757
|
+
(function (Constants) {
|
|
3758
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3759
|
+
var SecretType;
|
|
3760
|
+
(function (SecretType) {
|
|
3761
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3762
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3763
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3764
|
+
SecretType["KV"] = "kv";
|
|
3765
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3766
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3767
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3768
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3769
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3770
|
+
/** A text representation of the secret state. */
|
|
3771
|
+
var StateDescription;
|
|
3772
|
+
(function (StateDescription) {
|
|
3773
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3774
|
+
StateDescription["ACTIVE"] = "active";
|
|
3775
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3776
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3777
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3778
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3779
|
+
})(Constants = ServiceCredentialsSecret.Constants || (ServiceCredentialsSecret.Constants = {}));
|
|
3780
|
+
})(ServiceCredentialsSecret = SecretsManagerV2.ServiceCredentialsSecret || (SecretsManagerV2.ServiceCredentialsSecret = {}));
|
|
3781
|
+
var ServiceCredentialsSecretMetadata;
|
|
3782
|
+
(function (ServiceCredentialsSecretMetadata) {
|
|
3783
|
+
var Constants;
|
|
3784
|
+
(function (Constants) {
|
|
3785
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3786
|
+
var SecretType;
|
|
3787
|
+
(function (SecretType) {
|
|
3788
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3789
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3790
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3791
|
+
SecretType["KV"] = "kv";
|
|
3792
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3793
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3794
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3795
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3796
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3797
|
+
/** A text representation of the secret state. */
|
|
3798
|
+
var StateDescription;
|
|
3799
|
+
(function (StateDescription) {
|
|
3800
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3801
|
+
StateDescription["ACTIVE"] = "active";
|
|
3802
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3803
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3804
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3805
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3806
|
+
})(Constants = ServiceCredentialsSecretMetadata.Constants || (ServiceCredentialsSecretMetadata.Constants = {}));
|
|
3807
|
+
})(ServiceCredentialsSecretMetadata = SecretsManagerV2.ServiceCredentialsSecretMetadata || (SecretsManagerV2.ServiceCredentialsSecretMetadata = {}));
|
|
3808
|
+
var ServiceCredentialsSecretPrototype;
|
|
3809
|
+
(function (ServiceCredentialsSecretPrototype) {
|
|
3810
|
+
var Constants;
|
|
3811
|
+
(function (Constants) {
|
|
3812
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3813
|
+
var SecretType;
|
|
3814
|
+
(function (SecretType) {
|
|
3815
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3816
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3817
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3818
|
+
SecretType["KV"] = "kv";
|
|
3819
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3820
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3821
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3822
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3823
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3824
|
+
})(Constants = ServiceCredentialsSecretPrototype.Constants || (ServiceCredentialsSecretPrototype.Constants = {}));
|
|
3825
|
+
})(ServiceCredentialsSecretPrototype = SecretsManagerV2.ServiceCredentialsSecretPrototype || (SecretsManagerV2.ServiceCredentialsSecretPrototype = {}));
|
|
3826
|
+
var ServiceCredentialsSecretVersion;
|
|
3827
|
+
(function (ServiceCredentialsSecretVersion) {
|
|
3828
|
+
var Constants;
|
|
3829
|
+
(function (Constants) {
|
|
3830
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3831
|
+
var SecretType;
|
|
3832
|
+
(function (SecretType) {
|
|
3833
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3834
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3835
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3836
|
+
SecretType["KV"] = "kv";
|
|
3837
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3838
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3839
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3840
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3841
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3842
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3843
|
+
var Alias;
|
|
3844
|
+
(function (Alias) {
|
|
3845
|
+
Alias["CURRENT"] = "current";
|
|
3846
|
+
Alias["PREVIOUS"] = "previous";
|
|
3847
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3848
|
+
})(Constants = ServiceCredentialsSecretVersion.Constants || (ServiceCredentialsSecretVersion.Constants = {}));
|
|
3849
|
+
})(ServiceCredentialsSecretVersion = SecretsManagerV2.ServiceCredentialsSecretVersion || (SecretsManagerV2.ServiceCredentialsSecretVersion = {}));
|
|
3850
|
+
var ServiceCredentialsSecretVersionMetadata;
|
|
3851
|
+
(function (ServiceCredentialsSecretVersionMetadata) {
|
|
3852
|
+
var Constants;
|
|
3853
|
+
(function (Constants) {
|
|
3854
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3855
|
+
var SecretType;
|
|
3856
|
+
(function (SecretType) {
|
|
3857
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3858
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3859
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3860
|
+
SecretType["KV"] = "kv";
|
|
3861
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3862
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3863
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3864
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3865
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3866
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3867
|
+
var Alias;
|
|
3868
|
+
(function (Alias) {
|
|
3869
|
+
Alias["CURRENT"] = "current";
|
|
3870
|
+
Alias["PREVIOUS"] = "previous";
|
|
3871
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3872
|
+
})(Constants = ServiceCredentialsSecretVersionMetadata.Constants || (ServiceCredentialsSecretVersionMetadata.Constants = {}));
|
|
3873
|
+
})(ServiceCredentialsSecretVersionMetadata = SecretsManagerV2.ServiceCredentialsSecretVersionMetadata || (SecretsManagerV2.ServiceCredentialsSecretVersionMetadata = {}));
|
|
3874
|
+
var UsernamePasswordSecret;
|
|
3875
|
+
(function (UsernamePasswordSecret) {
|
|
3876
|
+
var Constants;
|
|
3877
|
+
(function (Constants) {
|
|
3878
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3879
|
+
var SecretType;
|
|
3880
|
+
(function (SecretType) {
|
|
3881
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3882
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3883
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3884
|
+
SecretType["KV"] = "kv";
|
|
3885
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3886
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3887
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3888
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3889
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3890
|
+
/** A text representation of the secret state. */
|
|
3891
|
+
var StateDescription;
|
|
3892
|
+
(function (StateDescription) {
|
|
3893
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3894
|
+
StateDescription["ACTIVE"] = "active";
|
|
3895
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3896
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3897
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3898
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3899
|
+
})(Constants = UsernamePasswordSecret.Constants || (UsernamePasswordSecret.Constants = {}));
|
|
3900
|
+
})(UsernamePasswordSecret = SecretsManagerV2.UsernamePasswordSecret || (SecretsManagerV2.UsernamePasswordSecret = {}));
|
|
3901
|
+
var UsernamePasswordSecretMetadata;
|
|
3902
|
+
(function (UsernamePasswordSecretMetadata) {
|
|
3903
|
+
var Constants;
|
|
3904
|
+
(function (Constants) {
|
|
3905
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3906
|
+
var SecretType;
|
|
3907
|
+
(function (SecretType) {
|
|
3908
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3909
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3910
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3911
|
+
SecretType["KV"] = "kv";
|
|
3912
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3913
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3914
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3915
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3916
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3917
|
+
/** A text representation of the secret state. */
|
|
3918
|
+
var StateDescription;
|
|
3919
|
+
(function (StateDescription) {
|
|
3920
|
+
StateDescription["PRE_ACTIVATION"] = "pre_activation";
|
|
3921
|
+
StateDescription["ACTIVE"] = "active";
|
|
3922
|
+
StateDescription["SUSPENDED"] = "suspended";
|
|
3923
|
+
StateDescription["DEACTIVATED"] = "deactivated";
|
|
3924
|
+
StateDescription["DESTROYED"] = "destroyed";
|
|
3925
|
+
})(StateDescription = Constants.StateDescription || (Constants.StateDescription = {}));
|
|
3926
|
+
})(Constants = UsernamePasswordSecretMetadata.Constants || (UsernamePasswordSecretMetadata.Constants = {}));
|
|
3927
|
+
})(UsernamePasswordSecretMetadata = SecretsManagerV2.UsernamePasswordSecretMetadata || (SecretsManagerV2.UsernamePasswordSecretMetadata = {}));
|
|
3928
|
+
var UsernamePasswordSecretPrototype;
|
|
3929
|
+
(function (UsernamePasswordSecretPrototype) {
|
|
3930
|
+
var Constants;
|
|
3931
|
+
(function (Constants) {
|
|
3932
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3933
|
+
var SecretType;
|
|
3934
|
+
(function (SecretType) {
|
|
3935
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3936
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3937
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3938
|
+
SecretType["KV"] = "kv";
|
|
3939
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3940
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3941
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3942
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3943
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3944
|
+
})(Constants = UsernamePasswordSecretPrototype.Constants || (UsernamePasswordSecretPrototype.Constants = {}));
|
|
3945
|
+
})(UsernamePasswordSecretPrototype = SecretsManagerV2.UsernamePasswordSecretPrototype || (SecretsManagerV2.UsernamePasswordSecretPrototype = {}));
|
|
3946
|
+
var UsernamePasswordSecretVersion;
|
|
3947
|
+
(function (UsernamePasswordSecretVersion) {
|
|
3948
|
+
var Constants;
|
|
3949
|
+
(function (Constants) {
|
|
3950
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3951
|
+
var SecretType;
|
|
3952
|
+
(function (SecretType) {
|
|
3953
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3954
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3955
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3956
|
+
SecretType["KV"] = "kv";
|
|
3957
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3958
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3959
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3960
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3961
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3962
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3963
|
+
var Alias;
|
|
3964
|
+
(function (Alias) {
|
|
3965
|
+
Alias["CURRENT"] = "current";
|
|
3966
|
+
Alias["PREVIOUS"] = "previous";
|
|
3967
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3968
|
+
})(Constants = UsernamePasswordSecretVersion.Constants || (UsernamePasswordSecretVersion.Constants = {}));
|
|
3969
|
+
})(UsernamePasswordSecretVersion = SecretsManagerV2.UsernamePasswordSecretVersion || (SecretsManagerV2.UsernamePasswordSecretVersion = {}));
|
|
3970
|
+
var UsernamePasswordSecretVersionMetadata;
|
|
3971
|
+
(function (UsernamePasswordSecretVersionMetadata) {
|
|
3972
|
+
var Constants;
|
|
3973
|
+
(function (Constants) {
|
|
3974
|
+
/** The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials, service_credentials, kv, and username_password. */
|
|
3975
|
+
var SecretType;
|
|
3976
|
+
(function (SecretType) {
|
|
3977
|
+
SecretType["ARBITRARY"] = "arbitrary";
|
|
3978
|
+
SecretType["IAM_CREDENTIALS"] = "iam_credentials";
|
|
3979
|
+
SecretType["IMPORTED_CERT"] = "imported_cert";
|
|
3980
|
+
SecretType["KV"] = "kv";
|
|
3981
|
+
SecretType["PRIVATE_CERT"] = "private_cert";
|
|
3982
|
+
SecretType["PUBLIC_CERT"] = "public_cert";
|
|
3983
|
+
SecretType["SERVICE_CREDENTIALS"] = "service_credentials";
|
|
3984
|
+
SecretType["USERNAME_PASSWORD"] = "username_password";
|
|
3985
|
+
})(SecretType = Constants.SecretType || (Constants.SecretType = {}));
|
|
3986
|
+
/** A human-readable alias that describes the secret version. 'Current' is used for version `n` and 'previous' is used for version `n-1`. */
|
|
3987
|
+
var Alias;
|
|
3988
|
+
(function (Alias) {
|
|
3989
|
+
Alias["CURRENT"] = "current";
|
|
3990
|
+
Alias["PREVIOUS"] = "previous";
|
|
3991
|
+
})(Alias = Constants.Alias || (Constants.Alias = {}));
|
|
3992
|
+
})(Constants = UsernamePasswordSecretVersionMetadata.Constants || (UsernamePasswordSecretVersionMetadata.Constants = {}));
|
|
3993
|
+
})(UsernamePasswordSecretVersionMetadata = SecretsManagerV2.UsernamePasswordSecretVersionMetadata || (SecretsManagerV2.UsernamePasswordSecretVersionMetadata = {}));
|
|
1916
3994
|
/*************************
|
|
1917
3995
|
* pager classes
|
|
1918
3996
|
************************/
|
|
@@ -1964,10 +4042,9 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
1964
4042
|
case 1:
|
|
1965
4043
|
response = _a.sent();
|
|
1966
4044
|
result = response.result;
|
|
1967
|
-
next = null;
|
|
1968
4045
|
if (result && result.next) {
|
|
1969
4046
|
if (result.next.href) {
|
|
1970
|
-
next = (0,
|
|
4047
|
+
next = (0, ibm_cloud_sdk_core_1.getQueryParam)(result.next.href, 'offset');
|
|
1971
4048
|
}
|
|
1972
4049
|
}
|
|
1973
4050
|
this.pageContext.next = next;
|
|
@@ -2054,10 +4131,9 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2054
4131
|
case 1:
|
|
2055
4132
|
response = _a.sent();
|
|
2056
4133
|
result = response.result;
|
|
2057
|
-
next = null;
|
|
2058
4134
|
if (result && result.next) {
|
|
2059
4135
|
if (result.next.href) {
|
|
2060
|
-
next = (0,
|
|
4136
|
+
next = (0, ibm_cloud_sdk_core_1.getQueryParam)(result.next.href, 'offset');
|
|
2061
4137
|
}
|
|
2062
4138
|
}
|
|
2063
4139
|
this.pageContext.next = next;
|
|
@@ -2144,10 +4220,9 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2144
4220
|
case 1:
|
|
2145
4221
|
response = _a.sent();
|
|
2146
4222
|
result = response.result;
|
|
2147
|
-
next = null;
|
|
2148
4223
|
if (result && result.next) {
|
|
2149
4224
|
if (result.next.href) {
|
|
2150
|
-
next = (0,
|
|
4225
|
+
next = (0, ibm_cloud_sdk_core_1.getQueryParam)(result.next.href, 'offset');
|
|
2151
4226
|
}
|
|
2152
4227
|
}
|
|
2153
4228
|
this.pageContext.next = next;
|
|
@@ -2234,10 +4309,9 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2234
4309
|
case 1:
|
|
2235
4310
|
response = _a.sent();
|
|
2236
4311
|
result = response.result;
|
|
2237
|
-
next = null;
|
|
2238
4312
|
if (result && result.next) {
|
|
2239
4313
|
if (result.next.href) {
|
|
2240
|
-
next = (0,
|
|
4314
|
+
next = (0, ibm_cloud_sdk_core_1.getQueryParam)(result.next.href, 'offset');
|
|
2241
4315
|
}
|
|
2242
4316
|
}
|
|
2243
4317
|
this.pageContext.next = next;
|
|
@@ -2324,10 +4398,9 @@ var SecretsManagerV2 = /** @class */ (function (_super) {
|
|
|
2324
4398
|
case 1:
|
|
2325
4399
|
response = _a.sent();
|
|
2326
4400
|
result = response.result;
|
|
2327
|
-
next = null;
|
|
2328
4401
|
if (result && result.next) {
|
|
2329
4402
|
if (result.next.href) {
|
|
2330
|
-
next = (0,
|
|
4403
|
+
next = (0, ibm_cloud_sdk_core_1.getQueryParam)(result.next.href, 'offset');
|
|
2331
4404
|
}
|
|
2332
4405
|
}
|
|
2333
4406
|
this.pageContext.next = next;
|