From a8e130a00889df982271ea695b7c5df7f27fde81 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Mon, 23 Sep 2024 21:08:02 +0300 Subject: [PATCH] cleanup --- lib/auth/aws.sh | 13 +------------ lib/auth/azure.sh | 10 ---------- lib/auth/bitwarden.sh | 14 +------------- lib/auth/gcp.sh | 18 +----------------- 4 files changed, 3 insertions(+), 52 deletions(-) diff --git a/lib/auth/aws.sh b/lib/auth/aws.sh index 04d210cd..e03ab51d 100644 --- a/lib/auth/aws.sh +++ b/lib/auth/aws.sh @@ -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" +} \ No newline at end of file diff --git a/lib/auth/azure.sh b/lib/auth/azure.sh index 467b0082..20d50e38 100644 --- a/lib/auth/azure.sh +++ b/lib/auth/azure.sh @@ -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() { diff --git a/lib/auth/bitwarden.sh b/lib/auth/bitwarden.sh index d083cf48..54b398fb 100644 --- a/lib/auth/bitwarden.sh +++ b/lib/auth/bitwarden.sh @@ -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" +} \ No newline at end of file diff --git a/lib/auth/gcp.sh b/lib/auth/gcp.sh index 74dbb88a..708bfb98 100644 --- a/lib/auth/gcp.sh +++ b/lib/auth/gcp.sh @@ -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() { @@ -67,4 +51,4 @@ gcp_authenticate() { # Clean up temporary credentials file rm -f "$temp_creds_file" -} +} \ No newline at end of file