Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new package auth for various authentication scenarios #664

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Oct 13, 2023

  1. add new package auth and auth/azure

    Add package `auth` along with `auth/azure`. The package `auth` will
    contain authentication related methods and APIs for multiple scenarios.
    The package `auth/azure` contains an authentication provider for Azure
    Resource Manager and ACR.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    803eed9 View commit details
    Browse the repository at this point in the history
  2. auth: add auth/aws package for AWS authentication

    Add package `auth/aws` containing an authentication provider for AWS and
    ECR.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    1bcd4be View commit details
    Browse the repository at this point in the history
  3. auth: add auth/gcp package for GCP authentication

    Add package `auth/gcp` which contains an authentication provider for GCP
    Service Accounts and GAR.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    5a6728e View commit details
    Browse the repository at this point in the history
  4. auth: add auth/github package for GitHub authentication

    Add `auth/github` package that contains an authentication provider for
    GitHub Apps. The provider returns a token to authenticate as a GitHub
    App installation.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    0234d33 View commit details
    Browse the repository at this point in the history
  5. auth: add auth/registry package for OCI registry auth

    Add package `auth/registry` which provides a package level method
    `GetAuthenticator()` that returns an authenticator for a specific OCI
    registry.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    fd8f529 View commit details
    Browse the repository at this point in the history
  6. auth: add auth/git package for Git provider auth

    Add package `auth/git` that provides a package level method
    `GetCredentials()` which returns credentials to authenticate against a
    Git provider.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    cc3a2eb View commit details
    Browse the repository at this point in the history
  7. auth: allow specifying custom cache

    Modify `auth.AuthOptions` to accept a custom cache which takes
    precedence over the global cache.
    
    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    b6693ef View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. auth/azure: fix token exchange url construction

    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    a7cc163 View commit details
    Browse the repository at this point in the history
  2. auth/registry: add integration tests

    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c6842fe View commit details
    Browse the repository at this point in the history
  3. ci: switch running dir to new auth pkg for OCI e2e

    Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
    aryan9600 committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    70ea10f View commit details
    Browse the repository at this point in the history