Skip to content

Commit 6e50594

Browse files
authored
Merge pull request #2 from acgalbany/feat/STACKITCRE-382-registry-fix-comments
Feat/stackitcre 382 registry fix comments
2 parents e1e9254 + 334d287 commit 6e50594

184 files changed

Lines changed: 13478 additions & 1148 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/dependabot.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ updates:
77
cooldown:
88
default-days: 7
99
exclude: ["github.com/stackitcloud*"]
10+
groups:
11+
stackit:
12+
patterns:
13+
- "github.com/stackitcloud/stackit-sdk-go/*"
1014
- package-ecosystem: "github-actions"
1115
directory: "/"
1216
schedule:

‎AUTHENTICATION.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,5 @@ Using this flow is less secure since the token is long-lived. You can provide th
131131
# Optional: provide a file path containing the OIDC token
132132
STACKIT_FEDERATED_TOKEN_FILE=/path/to/oidc-token.jwt
133133
```
134+
135+
When running in Azure DevOps with the [STACKIT Service Connection](https://marketplace.visualstudio.com/items?itemName=SchwarzDigits.stackit-service-connection), the CLI reads `STACKIT_SERVICE_CONNECTION_ID` and requests the OIDC token for that service connection.

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Below you can find a list of the STACKIT services already available in the CLI (
9191
| RabbitMQ | `rabbitmq` | :white_check_mark: |
9292
| Redis | `redis` | :white_check_mark: |
9393
| Resource Manager | `project` | :white_check_mark: |
94+
| STACKIT Cloud Foundry | `beta scf` | :white_check_mark: (beta) |
9495
| Secrets Manager | `secrets-manager` | :white_check_mark: |
9596
| Server Backup Management | `server backup` | :white_check_mark: |
9697
| Server Command (Run Command) | `server command` | :white_check_mark: |

‎docs/stackit_beta.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ stackit beta [flags]
4646
* [stackit beta cdn](./stackit_beta_cdn.md) - Manage CDN resources
4747
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
4848
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
49+
* [stackit beta scf](./stackit_beta_scf.md) - Provides functionality for STACKIT Cloud Foundry
4950
* [stackit beta volume](./stackit_beta_volume.md) - Provides functionality for Volume
5051
* [stackit beta vpn](./stackit_beta_vpn.md) - Provides functionality for VPN
5152

‎docs/stackit_beta_alb_observability-credentials_add.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stackit beta alb observability-credentials add [flags]
2222
```
2323
-d, --displayname string Displayname for the credentials
2424
-h, --help Help for "stackit beta alb observability-credentials add"
25-
--password string Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
25+
--password secret Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
2626
-u, --username string Username for the credentials
2727
```
2828

‎docs/stackit_beta_alb_observability-credentials_update.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stackit beta alb observability-credentials update CREDENTIAL_REF_ARG [flags]
2222
```
2323
-d, --displayname string Displayname for the credentials
2424
-h, --help Help for "stackit beta alb observability-credentials update"
25-
--password string Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
25+
--password secret Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
2626
-u, --username string Username for the credentials
2727
```
2828

‎docs/stackit_beta_cdn_distribution_create.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ stackit beta cdn distribution create [flags]
1919
2020
Create a CDN distribution with an Object Storage backend
2121
$ stackit beta cdn distribution create --bucket --bucket-url https://bucket.example.com \
22-
--bucket-credentials-access-key-id yyyy --bucket-region EU \
22+
--bucket-credentials-access-key-id yyyy --bucket-password - --bucket-region EU \
2323
--regions AF,EU
2424
25-
Create a CDN distribution passing the password via stdin, take care that there's a '\n' at the end of the input'
25+
Create a CDN distribution passing the password via stdin
2626
$ cat secret.txt | stackit beta cdn distribution create -y --project-id xxx \
27-
--bucket --bucket-url https://bucket.example.com --bucekt-credentials-access-key-id yyyy --bucket-region EU \
27+
--bucket --bucket-url https://bucket.example.com --bucket-credentials-access-key-id yyyy --bucket-password - --bucket-region EU \
2828
--regions AF,EU
2929
```
3030

@@ -35,7 +35,7 @@ stackit beta cdn distribution create [flags]
3535
--blocked-ips strings Comma-separated list of IPv4 addresses to block (e.g., '10.0.0.8,127.0.0.1')
3636
--bucket Use Object Storage backend
3737
--bucket-credentials-access-key-id string Access Key ID for Object Storage backend
38-
--bucket-password string Bucket-Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
38+
--bucket-password secret Bucket-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
3939
--bucket-region string Region for Object Storage backend
4040
--bucket-url string Bucket URL for Object Storage backend
4141
--default-cache-duration string ISO8601 duration string for default cache duration (e.g., 'PT1H30M' for 1 hour and 30 minutes)
@@ -45,7 +45,7 @@ stackit beta cdn distribution create [flags]
4545
--http-origin-request-headers strings Origin request headers for HTTP backend in the format 'HeaderName: HeaderValue', repeatable. WARNING: do not store sensitive values in the headers!
4646
--http-origin-url string Origin URL for HTTP backend
4747
--loki Enable Loki log sink for the CDN distribution
48-
--loki-password string Loki-Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
48+
--loki-password secret Loki-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
4949
--loki-push-url string Push URL for log sink
5050
--loki-username string Username for log sink
5151
--monthly-limit-bytes int Monthly limit in bytes for the CDN distribution

‎docs/stackit_beta_cdn_distribution_list.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ stackit beta cdn distribution list [flags]
2323
### Options
2424

2525
```
26-
-- int Limit the output to the first n elements
2726
-h, --help Help for "stackit beta cdn distribution list"
27+
--limit int Limit the output to the first n elements
2828
--sort-by string Sort entries by a specific field, (one of: [id, updatedAt, createdAt, originUrl, status, originUrlRelated]) (default "createdAt")
2929
```
3030

‎docs/stackit_beta_cdn_distribution_update.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ stackit beta cdn distribution update [flags]
2424
--blocked-ips strings Comma-separated list of IPv4 addresses to block (e.g., '10.0.0.8,127.0.0.1')
2525
--bucket Use Object Storage backend
2626
--bucket-credentials-access-key-id string Access Key ID for Object Storage backend
27-
--bucket-password string Bucket-Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
27+
--bucket-password secret Bucket-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
2828
--bucket-region string Region for Object Storage backend
2929
--bucket-url string Bucket URL for Object Storage backend
3030
--default-cache-duration string ISO8601 duration string for default cache duration (e.g., 'PT1H30M' for 1 hour and 30 minutes)
@@ -34,7 +34,7 @@ stackit beta cdn distribution update [flags]
3434
--http-origin-request-headers strings Origin request headers for HTTP backend in the format 'HeaderName: HeaderValue', repeatable. WARNING: do not store sensitive values in the headers!
3535
--http-origin-url string Origin URL for HTTP backend
3636
--loki Enable Loki log sink for the CDN distribution
37-
--loki-password string Loki-Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
37+
--loki-password secret Loki-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
3838
--loki-push-url string Push URL for log sink
3939
--loki-username string Username for log sink
4040
--monthly-limit-bytes int Monthly limit in bytes for the CDN distribution

‎docs/stackit_beta_intake_user_create.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ stackit beta intake user create [flags]
1313
### Examples
1414

1515
```
16-
Create a new Intake User with required parameters
17-
$ stackit beta intake user create --display-name intake-user --intake-id xxx --password "SuperSafepass123\!"
16+
Create a new Intake User with required parameters, reading the password from stdin
17+
$ stackit beta intake user create --display-name intake-user --intake-id xxx --password -
1818
1919
Create a new Intake User for the dead-letter queue with labels
20-
$ stackit beta intake user create --display-name dlq-user --intake-id xxx --password "SuperSafepass123\!" --type dead-letter --labels "env=prod"
20+
$ stackit beta intake user create --display-name dlq-user --intake-id xxx --password @./password.txt --type dead-letter --labels "env=prod"
2121
```
2222

2323
### Options
@@ -28,7 +28,7 @@ stackit beta intake user create [flags]
2828
-h, --help Help for "stackit beta intake user create"
2929
--intake-id string The UUID of the Intake to associate the user with
3030
--labels stringToString Labels in key=value format, separated by commas (default [])
31-
--password string Password. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty. Must contain lower, upper, number, and special characters (min 12 chars)
31+
--password secret Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported. Must contain lower, upper, number, and special characters (min 12 chars)
3232
--type string Type of user. One of 'intake' (default) or 'dead-letter' (default "intake")
3333
```
3434

0 commit comments

Comments
 (0)