beanstalk:expose-security-credentials

Full name:

br.com.ingenieux:beanstalk-maven-plugin:1.5.6:expose-security-credentials

Description:

Exposes (i.e., copies) the security credentials from settings.xml into project properties

You can define the server, or not. If you don't, it will work if you did something like that

<configuration>
  <exposes>
    <expose>
      <serverId>${beanstalk.serverId}</serverId>
      <accessKey>aws.accessKey</accessKey>
      <secretKey>aws.accessKey</secretKey>
    </expose>
  </exposes>
</configuration>

While it might look silly (and silly enough to get its own Plugin instead of beanstalker), it power comes when combined with the Properties Maven Plugin

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 0.2.7-RC4.

Required Parameters

Name Type Since Description
<session> MavenSession 0.2.7-RC4 (no description)
Default value is: ${session}.

Optional Parameters

Name Type Since Description
<credentialId> String 0.2.7-RC4 The credential id (on ~/.aws/credentials file) to use)
Default value is: default.
User property is: beanstalker.credentialId.
<endpointUrl> String 0.2.7-RC4 Endpoint URL
User property is: beanstalk.endpointUrl.
<exposes> Expose[] 0.2.7-RC4 Which Server Settings to Expose?
<ignoreExceptions> boolean 0.2.7-RC4 Ignore Exceptions?
Default value is: false.
User property is: beanstalker.ignoreExceptions.
<project> MavenProject 0.2.7-RC4 (no description)
Default value is: ${project}.
<regionName> String 0.2.7-RC4

Service region e.g. "us-east-1"

See this list for reference.


User property is: beanstalker.region.
<serverId> String 0.2.7-RC4 The server id in maven settings.xml to use for AWS Services Credentials (accessKey / secretKey)
Default value is: aws.amazon.com.
User property is: beanstalker.serverId.
<verbose> boolean 0.2.7-RC4 Verbose Logging?
Default value is: false.
User property is: beanstalker.verbose.

Parameter Details

<credentialId>

The credential id (on ~/.aws/credentials file) to use)
  • Type: java.lang.String
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalker.credentialId
  • Default: default

<endpointUrl>

Endpoint URL
  • Type: java.lang.String
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalk.endpointUrl

<exposes>

Which Server Settings to Expose?
  • Type: br.com.ingenieux.mojo.aws.Expose[]
  • Since: 0.2.7-RC4
  • Required: No

<ignoreExceptions>

Ignore Exceptions?
  • Type: boolean
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalker.ignoreExceptions
  • Default: false

<project>

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Since: 0.2.7-RC4
  • Required: No
  • Default: ${project}

<regionName>

Service region e.g. "us-east-1"

See this list for reference.

  • Type: java.lang.String
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalker.region

<serverId>

The server id in maven settings.xml to use for AWS Services Credentials (accessKey / secretKey)
  • Type: java.lang.String
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalker.serverId
  • Default: aws.amazon.com

<session>

(no description)
  • Type: org.apache.maven.execution.MavenSession
  • Since: 0.2.7-RC4
  • Required: Yes
  • Default: ${session}

<verbose>

Verbose Logging?
  • Type: boolean
  • Since: 0.2.7-RC4
  • Required: No
  • User Property: beanstalker.verbose
  • Default: false