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

Implement GCP Secret Manager strategy #7

Open
bleuscyther opened this issue Nov 21, 2022 · 0 comments
Open

Implement GCP Secret Manager strategy #7

bleuscyther opened this issue Nov 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@bleuscyther
Copy link
Member

GCP

Use Google Cloud Secret Manager to store the client_secret.

Class: Fruitsbytes\PHP\MonCash\Strategy\SecretManager\GCPSecretManager
Implements: Fruitsbytes\PHP\MonCash\Strategy\SecretManager\SecretManagerInterface

Default

# .env

MONCASH_SECRET_MANAGER="Fruitsbytes\\PHP\MonCash\\Strategy\\SecretManager\\GCPSecretManager"

Override

// cart.php

use Fruitsbytes\PHP\MonCash\Strategy\SecretManager\GCPSecretManager
  
$configuration = new Configuration(["secretManager"=> GCPSecretManager::class]);
@bleuscyther bleuscyther added the enhancement New feature or request label Nov 21, 2022
@bleuscyther bleuscyther added this to the Stategies milestone Nov 21, 2022
@bleuscyther bleuscyther self-assigned this Nov 21, 2022
@bleuscyther bleuscyther added the good first issue Good for newcomers label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant