@pulumi/artifactory 5.3.0 → 5.4.0-alpha.1698185412

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/config/vars.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  /**
2
- * This is a access token that can be given to you by your admin under `Identity and Access`. If not set, the 'api_key'
3
- * attribute value will be used.
2
+ * This is a access token that can be given to you by your admin under `User Management -> Access Tokens`. If not set, the
3
+ * 'api_key' attribute value will be used.
4
4
  */
5
5
  export declare const accessToken: string | undefined;
6
6
  /**
7
- * API token. Projects functionality will not work with any auth method other than access tokens
7
+ * API key. If `access_token` attribute, `JFROG_ACCESS_TOKEN` or `ARTIFACTORY_ACCESS_TOKEN` environment variable is set,
8
+ * the provider will ignore this attribute.
8
9
  */
9
10
  export declare const apiKey: string | undefined;
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAOlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAU,cAAc,CAAC,mCAAI,KAAK,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAOlD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,SAAS,CAAU,cAAc,CAAC,mCAAI,KAAK,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/keypair.d.ts CHANGED
@@ -1,10 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * RSA key pairs are used to sign and verify the Alpine Linux index files in JFrog Artifactory, while GPG key pairs are
4
- * used to sign and validate packages integrity in JFrog Distribution. The JFrog Platform enables you to manage multiple
5
- * RSA and GPG signing keys through the Keys Management UI and REST API. The JFrog Platform supports managing multiple
6
- * pairs of GPG signing keys to sign packages for authentication of several package types such as Debian, Opkg, and RPM
7
- * through the Keys Management UI and REST API.
4
+ * used to sign and validate packages integrity in JFrog Distribution. The JFrog Platform enables you to manage multiple RSA and GPG signing keys through the Keys Management UI and REST API. The JFrog Platform supports managing multiple pairs of GPG signing keys to sign packages for authentication of several package types such as Debian, Opkg, and RPM through the Keys Management UI and REST API.
8
5
  *
9
6
  * ## Example Usage
10
7
  *
@@ -13,10 +10,10 @@ import * as pulumi from "@pulumi/pulumi";
13
10
  * import * as artifactory from "@pulumi/artifactory";
14
11
  * import * as fs from "fs";
15
12
  *
16
- * const some_keypair6543461672124900137 = new artifactory.Keypair("some-keypair6543461672124900137", {
17
- * pairName: "some-keypair6543461672124900137",
13
+ * const some_keypair_6543461672124900137 = new artifactory.Keypair("some-keypair-6543461672124900137", {
14
+ * pairName: "some-keypair-6543461672124900137",
18
15
  * pairType: "RSA",
19
- * alias: "foo-alias6543461672124900137",
16
+ * alias: "some-alias-6543461672124900137",
20
17
  * privateKey: fs.readFileSync("samples/rsa.priv"),
21
18
  * publicKey: fs.readFileSync("samples/rsa.pub"),
22
19
  * passphrase: "PASSPHRASE",
@@ -25,10 +22,10 @@ import * as pulumi from "@pulumi/pulumi";
25
22
  *
26
23
  * ## Import
27
24
  *
28
- * Keypair can be imported using their name, e.g.
25
+ * Keypair can be imported using the pair name, e.g.
29
26
  *
30
27
  * ```sh
31
- * $ pulumi import artifactory:index/keypair:Keypair my-keypair my-keypair
28
+ * $ pulumi import artifactory:index/keypair:Keypair my-keypair my-keypair-name
32
29
  * ```
33
30
  */
34
31
  export declare class Keypair extends pulumi.CustomResource {
@@ -64,19 +61,15 @@ export declare class Keypair extends pulumi.CustomResource {
64
61
  */
65
62
  readonly passphrase: pulumi.Output<string | undefined>;
66
63
  /**
67
- * Private key. PEM format will be validated.
64
+ * Private key. PEM format will be validated. Must not include extranous spaces or tabs.
68
65
  */
69
66
  readonly privateKey: pulumi.Output<string>;
70
67
  /**
71
- * Public key. PEM format will be validated.
72
- */
73
- readonly publicKey: pulumi.Output<string>;
74
- /**
75
- * Unknown usage. Returned in the json payload and cannot be set.
68
+ * Public key. PEM format will be validated. Must not include extranous spaces or tabs.
76
69
  *
77
- * Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
70
+ * Artifactory REST API call 'Get Key Pair' doesn't return attributes `privateKey` and `passphrase`, but consumes these keys in the POST call.
78
71
  */
79
- readonly unavailable: pulumi.Output<boolean>;
72
+ readonly publicKey: pulumi.Output<string>;
80
73
  /**
81
74
  * Create a Keypair resource with the given unique name, arguments, and options.
82
75
  *
@@ -107,19 +100,15 @@ export interface KeypairState {
107
100
  */
108
101
  passphrase?: pulumi.Input<string>;
109
102
  /**
110
- * Private key. PEM format will be validated.
103
+ * Private key. PEM format will be validated. Must not include extranous spaces or tabs.
111
104
  */
112
105
  privateKey?: pulumi.Input<string>;
113
106
  /**
114
- * Public key. PEM format will be validated.
115
- */
116
- publicKey?: pulumi.Input<string>;
117
- /**
118
- * Unknown usage. Returned in the json payload and cannot be set.
107
+ * Public key. PEM format will be validated. Must not include extranous spaces or tabs.
119
108
  *
120
- * Artifactory REST API call Get Key Pair doesn't return keys `privateKey` and `passphrase`, but consumes these keys in the POST call.
109
+ * Artifactory REST API call 'Get Key Pair' doesn't return attributes `privateKey` and `passphrase`, but consumes these keys in the POST call.
121
110
  */
122
- unavailable?: pulumi.Input<boolean>;
111
+ publicKey?: pulumi.Input<string>;
123
112
  }
124
113
  /**
125
114
  * The set of arguments for constructing a Keypair resource.
@@ -142,11 +131,13 @@ export interface KeypairArgs {
142
131
  */
143
132
  passphrase?: pulumi.Input<string>;
144
133
  /**
145
- * Private key. PEM format will be validated.
134
+ * Private key. PEM format will be validated. Must not include extranous spaces or tabs.
146
135
  */
147
136
  privateKey: pulumi.Input<string>;
148
137
  /**
149
- * Public key. PEM format will be validated.
138
+ * Public key. PEM format will be validated. Must not include extranous spaces or tabs.
139
+ *
140
+ * Artifactory REST API call 'Get Key Pair' doesn't return attributes `privateKey` and `passphrase`, but consumes these keys in the POST call.
150
141
  */
151
142
  publicKey: pulumi.Input<string>;
152
143
  }
package/keypair.js CHANGED
@@ -7,10 +7,7 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * RSA key pairs are used to sign and verify the Alpine Linux index files in JFrog Artifactory, while GPG key pairs are
10
- * used to sign and validate packages integrity in JFrog Distribution. The JFrog Platform enables you to manage multiple
11
- * RSA and GPG signing keys through the Keys Management UI and REST API. The JFrog Platform supports managing multiple
12
- * pairs of GPG signing keys to sign packages for authentication of several package types such as Debian, Opkg, and RPM
13
- * through the Keys Management UI and REST API.
10
+ * used to sign and validate packages integrity in JFrog Distribution. The JFrog Platform enables you to manage multiple RSA and GPG signing keys through the Keys Management UI and REST API. The JFrog Platform supports managing multiple pairs of GPG signing keys to sign packages for authentication of several package types such as Debian, Opkg, and RPM through the Keys Management UI and REST API.
14
11
  *
15
12
  * ## Example Usage
16
13
  *
@@ -19,10 +16,10 @@ const utilities = require("./utilities");
19
16
  * import * as artifactory from "@pulumi/artifactory";
20
17
  * import * as fs from "fs";
21
18
  *
22
- * const some_keypair6543461672124900137 = new artifactory.Keypair("some-keypair6543461672124900137", {
23
- * pairName: "some-keypair6543461672124900137",
19
+ * const some_keypair_6543461672124900137 = new artifactory.Keypair("some-keypair-6543461672124900137", {
20
+ * pairName: "some-keypair-6543461672124900137",
24
21
  * pairType: "RSA",
25
- * alias: "foo-alias6543461672124900137",
22
+ * alias: "some-alias-6543461672124900137",
26
23
  * privateKey: fs.readFileSync("samples/rsa.priv"),
27
24
  * publicKey: fs.readFileSync("samples/rsa.pub"),
28
25
  * passphrase: "PASSPHRASE",
@@ -31,10 +28,10 @@ const utilities = require("./utilities");
31
28
  *
32
29
  * ## Import
33
30
  *
34
- * Keypair can be imported using their name, e.g.
31
+ * Keypair can be imported using the pair name, e.g.
35
32
  *
36
33
  * ```sh
37
- * $ pulumi import artifactory:index/keypair:Keypair my-keypair my-keypair
34
+ * $ pulumi import artifactory:index/keypair:Keypair my-keypair my-keypair-name
38
35
  * ```
39
36
  */
40
37
  class Keypair extends pulumi.CustomResource {
@@ -71,7 +68,6 @@ class Keypair extends pulumi.CustomResource {
71
68
  resourceInputs["passphrase"] = state ? state.passphrase : undefined;
72
69
  resourceInputs["privateKey"] = state ? state.privateKey : undefined;
73
70
  resourceInputs["publicKey"] = state ? state.publicKey : undefined;
74
- resourceInputs["unavailable"] = state ? state.unavailable : undefined;
75
71
  }
76
72
  else {
77
73
  const args = argsOrState;
@@ -96,7 +92,6 @@ class Keypair extends pulumi.CustomResource {
96
92
  resourceInputs["passphrase"] = (args === null || args === void 0 ? void 0 : args.passphrase) ? pulumi.secret(args.passphrase) : undefined;
97
93
  resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
98
94
  resourceInputs["publicKey"] = args ? args.publicKey : undefined;
99
- resourceInputs["unavailable"] = undefined /*out*/;
100
95
  }
101
96
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
97
  const secretOpts = { additionalSecretOutputs: ["passphrase", "privateKey"] };
package/keypair.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"keypair.js","sourceRoot":"","sources":["../keypair.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,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Q,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,YAAY,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtGL,0BAuGC;AAzFG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/artifactory",
3
- "version": "v5.3.0",
3
+ "version": "v5.4.0-alpha.1698185412+b79d5fba",
4
4
  "description": "A Pulumi package for creating and managing artifactory cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/provider.d.ts CHANGED
@@ -12,12 +12,13 @@ export declare class Provider extends pulumi.ProviderResource {
12
12
  */
13
13
  static isInstance(obj: any): obj is Provider;
14
14
  /**
15
- * This is a access token that can be given to you by your admin under `Identity and Access`. If not set, the 'api_key'
16
- * attribute value will be used.
15
+ * This is a access token that can be given to you by your admin under `User Management -> Access Tokens`. If not set, the
16
+ * 'api_key' attribute value will be used.
17
17
  */
18
18
  readonly accessToken: pulumi.Output<string | undefined>;
19
19
  /**
20
- * API token. Projects functionality will not work with any auth method other than access tokens
20
+ * API key. If `access_token` attribute, `JFROG_ACCESS_TOKEN` or `ARTIFACTORY_ACCESS_TOKEN` environment variable is set,
21
+ * the provider will ignore this attribute.
21
22
  *
22
23
  * @deprecated An upcoming version will support the option to block the usage/creation of API Keys (for admins to set on their platform).
23
24
  In a future version (scheduled for end of Q3, 2023), the option to disable the usage/creation of API Keys will be available and set to disabled by default. Admins will be able to enable the usage/creation of API Keys.
@@ -42,12 +43,13 @@ By end of Q1 2024, API Keys will be deprecated all together and the option to us
42
43
  */
43
44
  export interface ProviderArgs {
44
45
  /**
45
- * This is a access token that can be given to you by your admin under `Identity and Access`. If not set, the 'api_key'
46
- * attribute value will be used.
46
+ * This is a access token that can be given to you by your admin under `User Management -> Access Tokens`. If not set, the
47
+ * 'api_key' attribute value will be used.
47
48
  */
48
49
  accessToken?: pulumi.Input<string>;
49
50
  /**
50
- * API token. Projects functionality will not work with any auth method other than access tokens
51
+ * API key. If `access_token` attribute, `JFROG_ACCESS_TOKEN` or `ARTIFACTORY_ACCESS_TOKEN` environment variable is set,
52
+ * the provider will ignore this attribute.
51
53
  *
52
54
  * @deprecated An upcoming version will support the option to block the usage/creation of API Keys (for admins to set on their platform).
53
55
  In a future version (scheduled for end of Q3, 2023), the option to disable the usage/creation of API Keys will be available and set to disabled by default. Admins will be able to enable the usage/creation of API Keys.
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH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