From 305c31ce1f896b097a228d00d2f98e6d35d2f507 Mon Sep 17 00:00:00 2001 From: Sushaanth Srinivasan <80441330+SushaanthSrinivasan@users.noreply.github.com> Date: Mon, 26 Oct 2026 22:25:22 -0700 Subject: [PATCH 1/2] Bump minor version for release --- Cargo.lock | 8 ++++---- README.md | 8 ++++---- aws_certificatemanager_provider/Cargo.toml | 4 ++-- aws_secretsmanager_provider/Cargo.toml | 4 ++-- aws_workload_credentials_provider/Cargo.toml | 8 ++++---- aws_workload_credentials_provider_common/Cargo.toml | 2 +- install.ps1 | 4 ++-- install.sh | 8 ++++---- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 770b35c..349e006 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "aws_certificatemanager_provider" -version = "3.1.1" +version = "3.2.0" dependencies = [ "aws-config", "aws-credential-types", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "aws_secretsmanager_provider" -version = "3.1.1" +version = "3.2.0" dependencies = [ "arc-swap", "aws-config", @@ -753,7 +753,7 @@ dependencies = [ [[package]] name = "aws_workload_credentials_provider" -version = "3.1.1" +version = "3.2.0" dependencies = [ "aws_certificatemanager_provider", "aws_secretsmanager_provider", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "aws_workload_credentials_provider_common" -version = "3.1.1" +version = "3.2.0" dependencies = [ "chrono", "dunce", diff --git a/README.md b/README.md index c66c57c..5c96206 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The bootstrap installers download a released binary and the matching configurati installer=$(mktemp) && trap 'rm -f "$installer"' EXIT && curl --proto '=https' --tlsv1.2 -fsSL -o "$installer" \ https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.sh && - sudo AWCP_VERSION=3.1.1 bash "$installer" --config /path/to/config.toml + sudo AWCP_VERSION=3.2.0 bash "$installer" --config /path/to/config.toml ``` `AWCP_VERSION` is required and must name a released, tagged version\. The script downloads the binary for your architecture from the artifact host and the service units and install scripts from the `v$AWCP_VERSION` tag, then hands off to the `install` script described in [Step 2](#workload-credentials-provider-install)\. It also accepts `--dry-run`, which downloads everything, keeps it, and prints where, without installing\. @@ -101,20 +101,20 @@ Run the following in an Administrator PowerShell session\. If the download fails ```powershell $installer = Join-Path $env:TEMP "awcp-install.ps1" Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.ps1 -OutFile $installer -& $installer -Version 3.1.1 -Config C:\path\to\config.toml +& $installer -Version 3.2.0 -Config C:\path\to\config.toml Remove-Item $installer ``` Download to a file rather than running the response directly: `[scriptblock]::Create()` on an empty body produces a script block that does nothing and reports success, so a truncated or empty download would read as a completed install\. -If your execution policy refuses to run the file, or refuses the unsigned install scripts it downloads, run it as `powershell.exe -ExecutionPolicy Bypass -File $installer -Version 3.1.1 -Config C:\path\to\config.toml`\. The script checks the policy before downloading anything and tells you the same thing\. +If your execution policy refuses to run the file, or refuses the unsigned install scripts it downloads, run it as `powershell.exe -ExecutionPolicy Bypass -File $installer -Version 3.2.0 -Config C:\path\to\config.toml`\. The script checks the policy before downloading anything and tells you the same thing\. The script verifies the Authenticode signature on the binary and passes `-Config` and `-NoStart` through to the `install.ps1` script described in [Step 2](#workload-credentials-provider-install)\. It also accepts the following parameters: - `-Version ` — Version to install; required, and may also be given as the `AWCP_VERSION` environment variable - `-Force` — \(Optional\) Stop running provider services before installing - `-DryRun` — \(Optional\) Download and verify, then stop without installing -Newer versions stop if administrators don't control the provider folder or `C:\ProgramData\AWS`, with or without `-Config`\. Without `-Config`, they also only use an existing config if administrators control it\. See the Windows EC2 tab in [Step 2](#workload-credentials-provider-install) for details and how to continue\. +Version 3\.2\.0 and later stop if administrators don't control the provider folder or `C:\ProgramData\AWS`, with or without `-Config`\. Without `-Config`, they also only use an existing config if administrators control it\. See the Windows EC2 tab in [Step 2](#workload-credentials-provider-install) for details and how to continue\. ------ diff --git a/aws_certificatemanager_provider/Cargo.toml b/aws_certificatemanager_provider/Cargo.toml index ced02e6..f933b02 100644 --- a/aws_certificatemanager_provider/Cargo.toml +++ b/aws_certificatemanager_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_certificatemanager_provider" -version = "3.1.1" +version = "3.2.0" edition = "2021" license = "Apache-2.0" description = "AWS ACM certificate management for the AWS Workload Credentials Provider." @@ -26,7 +26,7 @@ tokio-util = "0.7.18" # We are required to use the sha1 feature to decrypt the password protected private keys. pkcs8 = { version = "0.10", features = ["encryption", "pem", "sha1-insecure"] } pkcs5 = "0.7" -aws_workload_credentials_provider_common = { version = "3.1.1", path = "../aws_workload_credentials_provider_common" } +aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } [dev-dependencies] aws-smithy-mocks = "0.1" diff --git a/aws_secretsmanager_provider/Cargo.toml b/aws_secretsmanager_provider/Cargo.toml index b0be2dc..5aa9e5f 100644 --- a/aws_secretsmanager_provider/Cargo.toml +++ b/aws_secretsmanager_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_secretsmanager_provider" -version = "3.1.1" +version = "3.2.0" edition = "2021" license = "Apache-2.0" description = "The AWS Secrets Manager Provider is a local HTTP service that you can install and use in your compute environments to read secrets from Secrets Manager and cache them in memory." @@ -38,7 +38,7 @@ log4rs = { version = "1.2.0", features = ["gzip"] } tokio-util = "0.7.18" url = "2" aws_secretsmanager_caching = { version = "2.1.0", path = "../aws_secretsmanager_caching" } -aws_workload_credentials_provider_common = { version = "3.1.1", path = "../aws_workload_credentials_provider_common" } +aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } regex = "1" rand = "0.10" diff --git a/aws_workload_credentials_provider/Cargo.toml b/aws_workload_credentials_provider/Cargo.toml index 36d8395..d49a315 100644 --- a/aws_workload_credentials_provider/Cargo.toml +++ b/aws_workload_credentials_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_workload_credentials_provider" -version = "3.1.1" +version = "3.2.0" edition = "2021" license = "Apache-2.0" description = "AWS Workload Credentials Provider binary — unified entry point for ACM and Secrets Manager modes." @@ -13,9 +13,9 @@ path = "src/main.rs" fips = ["aws_certificatemanager_provider/fips", "aws_secretsmanager_provider/fips"] [dependencies] -aws_workload_credentials_provider_common = { version = "3.1.1", path = "../aws_workload_credentials_provider_common" } -aws_certificatemanager_provider = { version = "3.1.1", path = "../aws_certificatemanager_provider" } -aws_secretsmanager_provider = { version = "3.1.1", path = "../aws_secretsmanager_provider" } +aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } +aws_certificatemanager_provider = { version = "3.2.0", path = "../aws_certificatemanager_provider" } +aws_secretsmanager_provider = { version = "3.2.0", path = "../aws_secretsmanager_provider" } clap = { version = "4", features = ["derive"] } tokio-util = "0.7.18" diff --git a/aws_workload_credentials_provider_common/Cargo.toml b/aws_workload_credentials_provider_common/Cargo.toml index 9765b83..6142553 100644 --- a/aws_workload_credentials_provider_common/Cargo.toml +++ b/aws_workload_credentials_provider_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_workload_credentials_provider_common" -version = "3.1.1" +version = "3.2.0" edition = "2021" license = "Apache-2.0" description = "Common library for AWS Workload Credentials Provider configuration validation and shared utilities." diff --git a/install.ps1 b/install.ps1 index 171915f..5b31036 100644 --- a/install.ps1 +++ b/install.ps1 @@ -32,7 +32,7 @@ .EXAMPLE $installer = Join-Path $env:TEMP "awcp-install.ps1" Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.ps1 -OutFile $installer - & $installer -Version 3.1.1 -Config C:\path\to\config.toml + & $installer -Version 3.2.0 -Config C:\path\to\config.toml Downloaded to a file rather than run from the response, because [scriptblock]::Create() on an empty body silently does nothing and reports @@ -88,7 +88,7 @@ if (-not $current.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrato } if (-not $Version) { - throw "Pass -Version (or set AWCP_VERSION) to the version to install, as in -Version 3.1.1" + throw "Pass -Version (or set AWCP_VERSION) to the version to install, as in -Version 3.2.0" } # \z, not $: .NET's $ also matches before a trailing newline, so a version with # one on the end would pass and then be interpolated into the download URLs. diff --git a/install.sh b/install.sh index d969e6e..12a62e5 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ # installer=$(mktemp) && trap 'rm -f "$installer"' EXIT && # curl --proto '=https' --tlsv1.2 -fsSL -o "$installer" \ # https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.sh && -# sudo AWCP_VERSION=3.1.1 bash "$installer" --config /path/to/config.toml +# sudo AWCP_VERSION=3.2.0 bash "$installer" --config /path/to/config.toml # # Downloaded to a file rather than piped into a shell, because `bash -c "$(curl # ...)"` exits 0 when the download fails: the substitution is empty and nothing @@ -78,7 +78,7 @@ main() { version="${AWCP_VERSION:-}" [ -n "$version" ] || - die "set AWCP_VERSION to the version to install, as in 'sudo AWCP_VERSION=3.1.1 ...'" + die "set AWCP_VERSION to the version to install, as in 'sudo AWCP_VERSION=3.2.0 ...'" # Pattern-matched rather than piped through grep: ^ and $ anchor each line, # not the whole value, and sh builtins that expand \n would let a second # line ride along behind a valid first one. @@ -192,8 +192,8 @@ main() { # Run through bash rather than exec'ing the file, so a noexec staging # directory doesn't block the install. -e is explicit because `bash ` - # drops the shebang's flags, and releases up to 3.1.1 take errexit from the - # shebang alone: without it their installer runs past a rejected config and + # drops the shebang's flags, and released install scripts take errexit from + # the shebang alone: without it the installer runs past a rejected config and # reports success. bash -e "$configuration/install" "$@" } From e989d7c0a18c5271c9923c54c40b2cd7c3e3446e Mon Sep 17 00:00:00 2001 From: Sushaanth Srinivasan <80441330+SushaanthSrinivasan@users.noreply.github.com> Date: Tue, 27 Oct 2026 11:14:15 -0700 Subject: [PATCH 2/2] Use a patch version for the release --- Cargo.lock | 8 ++++---- README.md | 8 ++++---- aws_certificatemanager_provider/Cargo.toml | 4 ++-- aws_secretsmanager_provider/Cargo.toml | 4 ++-- aws_workload_credentials_provider/Cargo.toml | 8 ++++---- aws_workload_credentials_provider_common/Cargo.toml | 2 +- install.ps1 | 4 ++-- install.sh | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 349e006..91d6680 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "aws_certificatemanager_provider" -version = "3.2.0" +version = "3.1.2" dependencies = [ "aws-config", "aws-credential-types", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "aws_secretsmanager_provider" -version = "3.2.0" +version = "3.1.2" dependencies = [ "arc-swap", "aws-config", @@ -753,7 +753,7 @@ dependencies = [ [[package]] name = "aws_workload_credentials_provider" -version = "3.2.0" +version = "3.1.2" dependencies = [ "aws_certificatemanager_provider", "aws_secretsmanager_provider", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "aws_workload_credentials_provider_common" -version = "3.2.0" +version = "3.1.2" dependencies = [ "chrono", "dunce", diff --git a/README.md b/README.md index 5c96206..bf472e1 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The bootstrap installers download a released binary and the matching configurati installer=$(mktemp) && trap 'rm -f "$installer"' EXIT && curl --proto '=https' --tlsv1.2 -fsSL -o "$installer" \ https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.sh && - sudo AWCP_VERSION=3.2.0 bash "$installer" --config /path/to/config.toml + sudo AWCP_VERSION=3.1.2 bash "$installer" --config /path/to/config.toml ``` `AWCP_VERSION` is required and must name a released, tagged version\. The script downloads the binary for your architecture from the artifact host and the service units and install scripts from the `v$AWCP_VERSION` tag, then hands off to the `install` script described in [Step 2](#workload-credentials-provider-install)\. It also accepts `--dry-run`, which downloads everything, keeps it, and prints where, without installing\. @@ -101,20 +101,20 @@ Run the following in an Administrator PowerShell session\. If the download fails ```powershell $installer = Join-Path $env:TEMP "awcp-install.ps1" Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.ps1 -OutFile $installer -& $installer -Version 3.2.0 -Config C:\path\to\config.toml +& $installer -Version 3.1.2 -Config C:\path\to\config.toml Remove-Item $installer ``` Download to a file rather than running the response directly: `[scriptblock]::Create()` on an empty body produces a script block that does nothing and reports success, so a truncated or empty download would read as a completed install\. -If your execution policy refuses to run the file, or refuses the unsigned install scripts it downloads, run it as `powershell.exe -ExecutionPolicy Bypass -File $installer -Version 3.2.0 -Config C:\path\to\config.toml`\. The script checks the policy before downloading anything and tells you the same thing\. +If your execution policy refuses to run the file, or refuses the unsigned install scripts it downloads, run it as `powershell.exe -ExecutionPolicy Bypass -File $installer -Version 3.1.2 -Config C:\path\to\config.toml`\. The script checks the policy before downloading anything and tells you the same thing\. The script verifies the Authenticode signature on the binary and passes `-Config` and `-NoStart` through to the `install.ps1` script described in [Step 2](#workload-credentials-provider-install)\. It also accepts the following parameters: - `-Version ` — Version to install; required, and may also be given as the `AWCP_VERSION` environment variable - `-Force` — \(Optional\) Stop running provider services before installing - `-DryRun` — \(Optional\) Download and verify, then stop without installing -Version 3\.2\.0 and later stop if administrators don't control the provider folder or `C:\ProgramData\AWS`, with or without `-Config`\. Without `-Config`, they also only use an existing config if administrators control it\. See the Windows EC2 tab in [Step 2](#workload-credentials-provider-install) for details and how to continue\. +Version 3\.1\.2 and later stop if administrators don't control the provider folder or `C:\ProgramData\AWS`, with or without `-Config`\. Without `-Config`, they also only use an existing config if administrators control it\. See the Windows EC2 tab in [Step 2](#workload-credentials-provider-install) for details and how to continue\. ------ diff --git a/aws_certificatemanager_provider/Cargo.toml b/aws_certificatemanager_provider/Cargo.toml index f933b02..e8fcb88 100644 --- a/aws_certificatemanager_provider/Cargo.toml +++ b/aws_certificatemanager_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_certificatemanager_provider" -version = "3.2.0" +version = "3.1.2" edition = "2021" license = "Apache-2.0" description = "AWS ACM certificate management for the AWS Workload Credentials Provider." @@ -26,7 +26,7 @@ tokio-util = "0.7.18" # We are required to use the sha1 feature to decrypt the password protected private keys. pkcs8 = { version = "0.10", features = ["encryption", "pem", "sha1-insecure"] } pkcs5 = "0.7" -aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } +aws_workload_credentials_provider_common = { version = "3.1.2", path = "../aws_workload_credentials_provider_common" } [dev-dependencies] aws-smithy-mocks = "0.1" diff --git a/aws_secretsmanager_provider/Cargo.toml b/aws_secretsmanager_provider/Cargo.toml index 5aa9e5f..5d16511 100644 --- a/aws_secretsmanager_provider/Cargo.toml +++ b/aws_secretsmanager_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_secretsmanager_provider" -version = "3.2.0" +version = "3.1.2" edition = "2021" license = "Apache-2.0" description = "The AWS Secrets Manager Provider is a local HTTP service that you can install and use in your compute environments to read secrets from Secrets Manager and cache them in memory." @@ -38,7 +38,7 @@ log4rs = { version = "1.2.0", features = ["gzip"] } tokio-util = "0.7.18" url = "2" aws_secretsmanager_caching = { version = "2.1.0", path = "../aws_secretsmanager_caching" } -aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } +aws_workload_credentials_provider_common = { version = "3.1.2", path = "../aws_workload_credentials_provider_common" } regex = "1" rand = "0.10" diff --git a/aws_workload_credentials_provider/Cargo.toml b/aws_workload_credentials_provider/Cargo.toml index d49a315..5207a56 100644 --- a/aws_workload_credentials_provider/Cargo.toml +++ b/aws_workload_credentials_provider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_workload_credentials_provider" -version = "3.2.0" +version = "3.1.2" edition = "2021" license = "Apache-2.0" description = "AWS Workload Credentials Provider binary — unified entry point for ACM and Secrets Manager modes." @@ -13,9 +13,9 @@ path = "src/main.rs" fips = ["aws_certificatemanager_provider/fips", "aws_secretsmanager_provider/fips"] [dependencies] -aws_workload_credentials_provider_common = { version = "3.2.0", path = "../aws_workload_credentials_provider_common" } -aws_certificatemanager_provider = { version = "3.2.0", path = "../aws_certificatemanager_provider" } -aws_secretsmanager_provider = { version = "3.2.0", path = "../aws_secretsmanager_provider" } +aws_workload_credentials_provider_common = { version = "3.1.2", path = "../aws_workload_credentials_provider_common" } +aws_certificatemanager_provider = { version = "3.1.2", path = "../aws_certificatemanager_provider" } +aws_secretsmanager_provider = { version = "3.1.2", path = "../aws_secretsmanager_provider" } clap = { version = "4", features = ["derive"] } tokio-util = "0.7.18" diff --git a/aws_workload_credentials_provider_common/Cargo.toml b/aws_workload_credentials_provider_common/Cargo.toml index 6142553..1aa704a 100644 --- a/aws_workload_credentials_provider_common/Cargo.toml +++ b/aws_workload_credentials_provider_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws_workload_credentials_provider_common" -version = "3.2.0" +version = "3.1.2" edition = "2021" license = "Apache-2.0" description = "Common library for AWS Workload Credentials Provider configuration validation and shared utilities." diff --git a/install.ps1 b/install.ps1 index 5b31036..ecd7eb5 100644 --- a/install.ps1 +++ b/install.ps1 @@ -32,7 +32,7 @@ .EXAMPLE $installer = Join-Path $env:TEMP "awcp-install.ps1" Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.ps1 -OutFile $installer - & $installer -Version 3.2.0 -Config C:\path\to\config.toml + & $installer -Version 3.1.2 -Config C:\path\to\config.toml Downloaded to a file rather than run from the response, because [scriptblock]::Create() on an empty body silently does nothing and reports @@ -88,7 +88,7 @@ if (-not $current.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrato } if (-not $Version) { - throw "Pass -Version (or set AWCP_VERSION) to the version to install, as in -Version 3.2.0" + throw "Pass -Version (or set AWCP_VERSION) to the version to install, as in -Version 3.1.2" } # \z, not $: .NET's $ also matches before a trailing newline, so a version with # one on the end would pass and then be interpolated into the download URLs. diff --git a/install.sh b/install.sh index 12a62e5..fe77b1d 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ # installer=$(mktemp) && trap 'rm -f "$installer"' EXIT && # curl --proto '=https' --tlsv1.2 -fsSL -o "$installer" \ # https://raw.githubusercontent.com/aws/aws-workload-credentials-provider/HEAD/install.sh && -# sudo AWCP_VERSION=3.2.0 bash "$installer" --config /path/to/config.toml +# sudo AWCP_VERSION=3.1.2 bash "$installer" --config /path/to/config.toml # # Downloaded to a file rather than piped into a shell, because `bash -c "$(curl # ...)"` exits 0 when the download fails: the substitution is empty and nothing @@ -78,7 +78,7 @@ main() { version="${AWCP_VERSION:-}" [ -n "$version" ] || - die "set AWCP_VERSION to the version to install, as in 'sudo AWCP_VERSION=3.2.0 ...'" + die "set AWCP_VERSION to the version to install, as in 'sudo AWCP_VERSION=3.1.2 ...'" # Pattern-matched rather than piped through grep: ^ and $ anchor each line, # not the whole value, and sh builtins that expand \n would let a second # line ride along behind a valid first one.