Skip to content

Commit

Permalink
chore: bump github.com/aws/aws-sdk-go from 1.44.190 to 1.44.191 (#530)
Browse files Browse the repository at this point in the history
* chore: bump github.com/aws/aws-sdk-go from 1.44.190 to 1.44.191

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.190 to 1.44.191.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.44.190...v1.44.191)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update oidc_cli implementation dependencies

* Fixing references

* Update rsa-keygen.go

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Lokshin <[email protected]>
  • Loading branch information
dependabot[bot] and alexlokshin-czi authored Feb 1, 2023
1 parent cca71b9 commit 7d658e5
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions cmd/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"path/filepath"

"github.com/chanzuckerberg/aws-oidc/pkg/aws_config_client"
oidc "github.com/chanzuckerberg/go-misc/oidc_cli"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/client"
"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client"
"github.com/mitchellh/go-homedir"
"github.com/pkg/errors"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -46,7 +46,7 @@ var configureCmd = &cobra.Command{
Short: "aws-oidc configure",
Long: "Configure helps you configure your aws config. Depends on a config generation service running.",
RunE: func(cmd *cobra.Command, args []string) error {
token, err := oidc.GetToken(
token, err := oidc_impl.GetToken(
cmd.Context(),
clientID,
issuerURL,
Expand Down
6 changes: 3 additions & 3 deletions cmd/creds-process.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/aws/aws-sdk-go/service/sts"
"github.com/chanzuckerberg/aws-oidc/pkg/aws_config_client"
"github.com/chanzuckerberg/aws-oidc/pkg/getter"
oidc "github.com/chanzuckerberg/go-misc/oidc_cli"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/client"
"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client"
"github.com/honeycombio/beeline-go"
"github.com/pkg/errors"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -107,7 +107,7 @@ func getOIDCToken(
ctx, span := beeline.StartSpan(ctx, "get_oidc_token")
defer span.Send()

return oidc.GetToken(
return oidc_impl.GetToken(
ctx,
awsOIDCConfig.ClientID,
awsOIDCConfig.IssuerURL,
Expand Down
6 changes: 3 additions & 3 deletions cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/chanzuckerberg/aws-oidc/pkg/aws_config_client"
"github.com/chanzuckerberg/aws-oidc/pkg/getter"
oidc "github.com/chanzuckerberg/go-misc/oidc_cli"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/client"
"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl"
oidc_client "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client"
"github.com/kelseyhightower/envconfig"
"github.com/pkg/errors"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -75,7 +75,7 @@ func execRun(cmd *cobra.Command, args []string) error {
return err
}

token, err := oidc.GetToken(
token, err := oidc_impl.GetToken(
ctx,
awsOIDCConfig.ClientID,
awsOIDCConfig.IssuerURL,
Expand Down
6 changes: 3 additions & 3 deletions cmd/rsa-keygen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package cmd

import (
"fmt"

"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl"
"github.com/pkg/errors"
"github.com/spf13/cobra"

oidc "github.com/chanzuckerberg/go-misc/oidc_cli"
)

func init() {
Expand All @@ -17,7 +17,7 @@ var keygenCmd = &cobra.Command{
Short: "create a new rsa key for authenticating to Okta API",
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
pub, err := oidc.GenerateRSAKey()
pub, err := oidc_impl.GenerateRSAKey()
if err != nil {
return errors.Wrap(err, "Unable to generate RSA key")
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"time"

oidc "github.com/chanzuckerberg/go-misc/oidc_cli"
"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -41,7 +41,7 @@ var tokenCmd = &cobra.Command{
Version: stdoutTokenVersion,
}

token, err := oidc.GetToken(
token, err := oidc_impl.GetToken(
cmd.Context(),
clientID,
issuerURL,
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.19

require (
github.com/AlecAivazis/survey/v2 v2.3.6
github.com/aws/aws-sdk-go v1.44.190
github.com/aws/aws-sdk-go v1.44.191
github.com/blang/semver v3.5.1+incompatible
github.com/chanzuckerberg/go-misc v1.0.3
github.com/chanzuckerberg/go-misc v1.0.5
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/evalphobia/logrus_sentry v0.8.2
github.com/go-errors/errors v1.4.2
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8=
github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w=
github.com/aws/aws-sdk-go v1.44.190 h1:QC+Pf/Ooj7Waf2obOPZbIQOqr00hy4h54j3ZK9mvHcc=
github.com/aws/aws-sdk-go v1.44.190/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go v1.44.191 h1:GnbkalCx/AgobaorDMFCa248acmk+91+aHBQOk7ljzU=
github.com/aws/aws-sdk-go v1.44.191/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
Expand All @@ -16,8 +16,8 @@ github.com/cenkalti/backoff/v4 v4.2.0 h1:HN5dHm3WBOgndBH6E8V0q2jIYIR3s9yglV8k/+M
github.com/cenkalti/backoff/v4 v4.2.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d h1:S2NE3iHSwP0XV47EEXL8mWmRdEfGscSJ+7EgePNgt0s=
github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
github.com/chanzuckerberg/go-misc v1.0.3 h1:S1pajI3nb3z3s0h3bfL+h01OuVn6+eBZWnmbefRgPGc=
github.com/chanzuckerberg/go-misc v1.0.3/go.mod h1:cXtfEUllHllfC+/dMq5AuRtt9c+G6HRdzfY77d368Bs=
github.com/chanzuckerberg/go-misc v1.0.5 h1:HNV3bvRgfXXVyx6z3SXJXn+Z4IpdjPQRU1u77JCNBWQ=
github.com/chanzuckerberg/go-misc v1.0.5/go.mod h1:8lFTVIqrZs0p/fr1rZtnlX+reWzfyJCXvoOuokWZh/I=
github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk=
github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down
2 changes: 1 addition & 1 deletion pkg/aws_config_client/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

server "github.com/chanzuckerberg/aws-oidc/pkg/aws_config_server"
"github.com/chanzuckerberg/aws-oidc/pkg/util"
"github.com/chanzuckerberg/go-misc/oidc_cli/client"
"github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client"
"github.com/honeycombio/beeline-go"
"github.com/honeycombio/beeline-go/propagation"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/getter/aws_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sts"
client "github.com/chanzuckerberg/go-misc/oidc_cli/client"
client "github.com/chanzuckerberg/go-misc/oidc_cli/oidc_impl/client"
"github.com/honeycombio/beeline-go"
"github.com/pkg/errors"
)
Expand Down

0 comments on commit 7d658e5

Please sign in to comment.