Back to Flyway

Flyway Google Cloud Secret Manager Project Setting

documentation/Reference/Configuration/Flyway Namespace/Flyway Google Cloud Secret Manager Namespace/Flyway Google Cloud Secret Manager Project Setting.md

latest1.2 KB
Original Source

{% include enterprise.html %}

Description

The GCSM Project that you are storing secrets in

Example: quixotic-ferret-345678

Type

String

Default

<i>none</i>

Usage

Flyway Desktop

This cannot be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

powershell
./flyway -gcsm.project="quixotic-ferret-345678" info

TOML Configuration File

toml
[flyway.gcsm]
project = "quixotic-ferret-345678"

Configuration File

properties
flyway.gcsm.project=quixotic-ferret-345678

Environment Variable

properties
FLYWAY_GCSM_PROJECT=quixotic-ferret-345678

API

java
GcsmConfigurationExtension gcsmConfigurationExtension = configuration.getConfigurationExtension(GcsmConfigurationExtension.class);
gcsmConfigurationExtension.setGcsmProject("quixotic-ferret-345678");

Gradle

groovy
flyway {
    gcsm = [
        gcsmProject: 'quixotic-ferret-345678'
    ]
}

Maven

xml
<configuration>
    <gcsm>
        <gcsmProject>quixotic-ferret-345678</gcsmProject>
    </gcsm>
</configuration>