Skip to content

Question: How to Use Private Key in Semaphore Terraform Without Storing It in Git? #2808

Open
@kovalroma

Description

@kovalroma

Question

Hi everyone,

I'm integrating my Terraform script with Semaphore (Docker). My Terraform code provisions a VM in Oracle Cloud, and according to the documentation, I need to pass the private key path.

However, I don't want to store my private key in the Git repository. Since Terraform requires a path to the key, I’m unsure how to securely pass it in Semaphore.

Does anyone have a workaround for this?

Here is an example from my *.tfvars file

private_key_path    = "access_key.pem"

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions