mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
Add env for bdd
This commit is contained in:
@@ -10,11 +10,9 @@ logging.getLogger("httpx").setLevel(logging.DEBUG)
|
||||
load_dotenv()
|
||||
|
||||
BASE_URL = os.environ.get("INFISICAL_API_URL", "http://localhost:8080")
|
||||
PROJECT_ID = os.environ.get("PROJECT_ID", "c051e74c-48a7-4724-832c-d5b496698546")
|
||||
CERT_CA_ID = os.environ.get("CERT_CA_ID", "2f0d9820-e5a8-48bb-aac8-deed9d868a1e")
|
||||
CERT_TEMPLATE_ID = os.environ.get(
|
||||
"CERT_TEMPLATE_ID", "4dbf6bb0-6e86-4ee6-8550-9171428c8e82"
|
||||
)
|
||||
PROJECT_ID = os.environ.get("PROJECT_ID")
|
||||
CERT_CA_ID = os.environ.get("CERT_CA_ID")
|
||||
CERT_TEMPLATE_ID = os.environ.get("CERT_TEMPLATE_ID")
|
||||
AUTH_TOKEN = os.environ.get("INFISICAL_TOKEN")
|
||||
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ def step_impl(context: Context, profile_var: str):
|
||||
# TODO: Fixed value for now, just to make test much easier,
|
||||
# we should call infisical API to create such profile instead
|
||||
# in the future
|
||||
profile_id = "9fda66ee-03f0-4b7c-95ad-542feff77177"
|
||||
profile_id = os.getenv("PROFILE_ID")
|
||||
kid = profile_id
|
||||
secret = os.getenv("EAB_SECRET")
|
||||
context.vars[profile_var] = AcmeProfile(
|
||||
|
||||
Reference in New Issue
Block a user