Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Sep 23, 2024
1 parent cc86edd commit a8e130a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 52 deletions.
13 changes: 1 addition & 12 deletions lib/auth/aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@

# Example usage of the function
# aws_authenticate "/path/to/your/aws_creds.json"
#
# Example AWS credentials JSON file:
#
# {
# "AccessKeyId": "your-access-key-id",
# "SecretAccessKey": "your-secret-access-key",
# "Region": "your-aws-region"
# }

# Function to authenticate AWS using IAM user credentials
aws_authenticate() {
echo "Not supported yet. Is in progress"
}

# Example usage of the function
# aws_authenticate "/path/to/your/aws_creds.json"
}
10 changes: 0 additions & 10 deletions lib/auth/azure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
#
# Example usage of the function
# azure_authenticate "/path/to/your/azure_creds.json"
#
# Example Azure credentials JSON file:
#
# {
# "clientId": "your-client-id",
# "clientSecret": "your-client-secret",
# "subscriptionId": "your-subscription-id",
# "tenantId": "your-tenant-id"
# }
#

# Function to authenticate Azure accounts
azure_authenticate() {
Expand Down
14 changes: 1 addition & 13 deletions lib/auth/bitwarden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,8 @@
#
# Example usage of the function
# bitwarden_authenticate "/path/to/your/bitwarden_creds.json"
#
# Example Bitwarden credentials JSON file:
#
# {
# "clientId": "your-client-id",
# "clientSecret": "your-client-secret",
# "masterPassword": "your-master-password"
# }
#

# Function to authenticate Bitwarden using API key or master password
bitwarden_authenticate() {
echo "Not supported yet. Is in progress"
}

# Example usage of the function
# bitwarden_authenticate "/path/to/your/bitwarden_creds.json"
}
18 changes: 1 addition & 17 deletions lib/auth/gcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,6 @@
#
# Example usage of the function
# gcp_authenticate "/path/to/your/gcp_creds.json"
#
# Example GCP credentials JSON file:
#
# {
# "type": "service_account",
# "project_id": "your-project-id",
# "private_key_id": "your-private-key-id",
# "private_key": "your-private-key",
# "client_email": "your-client-email",
# "client_id": "your-client-id",
# "auth_uri": "https://accounts.google.com/o/oauth2/auth",
# "token_uri": "https://oauth2.googleapis.com/token",
# "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
# "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/your-client-email"
# }
#

# Function to authenticate GCP service accounts
gcp_authenticate() {
Expand Down Expand Up @@ -67,4 +51,4 @@ gcp_authenticate() {

# Clean up temporary credentials file
rm -f "$temp_creds_file"
}
}

0 comments on commit a8e130a

Please sign in to comment.