- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Private Actions are in Preview. Use this form to request access today.
Request AccessPrivate actions allow your Datadog workflows and apps to interact with services hosted on your private network without exposing your services to the public internet. To use private actions, you must use Docker to install a private action runner on a host in your network and pair the runner with a Datadog Connection. For more information on setting up a runner and pairing it with a connection, see Private Actions for Workflows or Private Actions for App Builder.
Some private actions, such as Jenkins and PostgreSQL, require credentials to function. To configure credentials for a private action, you must:
/etc/dd-action-runner/creds/jenkins_creds.json
.The PostgreSQL connection accepts the following credentials:
Credential | Required | Description |
---|---|---|
host | Yes | The name of the host to connect to. For more information, see the official PostGreSQL documentation. |
port | Yes | The port number to connect to at the server host, or socket filename extension for UNIX-domain connections. For more information, see the official PostGreSQL documentation. |
user | Yes | The PostgreSQL user name to connect as. For more information, see the official PostGreSQL documentation. |
password | Yes | The password to use if the server demands password authentication. For more information, see the official PostGreSQL documentation. |
database | Yes | The database name. For more information, see the official PostGreSQL documentation. |
sslmode | Yes | This option determines whether or with what priority a secure SSL TCP/IP connection is negotiated with the server. Available options are require and disable .For more information, see the official PostGreSQL documentation. |
applicationName | No | The name of the application connecting to the PostGreSQL server. For more information, see the official PostGreSQL documentation. |
searchPath | No | Set a schema search path. For more information, see the official PostGreSQL documentation. |
Include all credentials in a single file.
In the runner’s connection, specify the location of the credential file on the private action runner’s container. In this example, all three credentials are stored in a single file. Replace the capitalized example values with your credentials.
/etc/dd-action-runner/creds/creds.pgpass
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "host",
"tokenValue": "YOUR_HOST_NAME"
},
{
"tokenName": "port",
"tokenValue": "YOUR_PORT"
},
{
"tokenName": "user",
"tokenValue": "YOUR_USER"
},
{
"tokenName": "password",
"tokenValue": "YOUR_PASSWORD"
},
{
"tokenName": "database",
"tokenValue": "YOUR_DATABASE_NAME"
},
{
"tokenName": "sslmode",
"tokenValue": "disable"
},
{
"tokenName": "applicationName",
"tokenValue": "YOUR_APPLICATION_NAME"
},
{
"tokenName": "searchPath",
"tokenValue": "YOUR_SEARCH_PATH"
}
]
}
In the runner’s connection, specify the location of the credential file on the private action runner’s container. Your PostgreSQL connection points to the same path for all credentials. In this example, the credential file is stored at /etc/dd-action-runner/creds/creds.pgpass
on the runner.
Jenkins connections require three credentials:
You can include all credentials in a single file or store each credential in a separate file.
Single file example
In the runner’s connection, specify the location of the credential file on the private action runner’s container. In this example, all three credentials are stored in a single file. Replace USERNAME
, TOKEN
, and DOMAIN
with your username, token, and domain.
/etc/dd-action-runner/creds/jenkins_creds.json
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "username",
"tokenValue": "USERNAME"
},
{
"tokenName": "token",
"tokenValue": "TOKEN"
},
{
"tokenName": "domain",
"tokenValue": "DOMAIN"
}
]
}
In the runner’s connection, specify the location of the credential file on the private action runner’s container. Your Jenkins connection points to the same path for all credentials. In this example, the credential file is stored at /etc/dd-action-runner/creds/jenkins_creds.json
on the runner.
Multiple file example
In this example, each Jenkins credential is stored in a separate file.
For the username credential, replace USERNAME
with your username.
/etc/dd-action-runner/creds/jenkins_username.json
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "username",
"tokenValue": "USERNAME"
}
]
}
For the token credential, replace TOKEN
with your token.
/etc/dd-action-runner/creds/jenkins_token.json
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "token",
"tokenValue": "TOKEN"
}
]
}
For the domain credential, replace DOMAIN
with your domain.
/etc/dd-action-runner/creds/jenkins_domain.json
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "domain",
"tokenValue": "DOMAIN"
}
]
}
In the runner’s connection, specify the location of the credential file on the private action runner’s container. Your Jenkins connection points to the path to each credential. In this example, the credential files are stored at the following locations on the runner:
/etc/dd-action-runner/creds/jenkins_username.json
/etc/dd-action-runner/creds/jenkins_token.json
/etc/dd-action-runner/creds/jenkins_domain.json
Basic authentication for the HTTP connection requires a credential file with a username and a password.
Replace USERNAME
and PASSWORD
with your username and password.
/etc/dd-action-runner/creds/http_creds.json
{
"auth_type": "Basic Auth",
"credentials": [
{
"username": "USERNAME",
"password": "PASSWORD"
}
]
}
In the runner’s connection, specify the location of the credential file on the private action runner’s container. In this example, the credential file is stored at /etc/dd-action-runner/creds/http_creds.json
on the runner.
Token authentication for the HTTP connection requires a credential file with an array of token names and values.
The example below includes two tokens named TOKEN1
and TOKEN2
. Replace the example token names and values with your token names and values.
/etc/dd-action-runner/creds/http_creds.json
{
"auth_type": "Token Auth",
"credentials": [
{
"tokenName": "TOKEN1",
"tokenValue": "VALUE1"
},
{
"tokenName": "TOKEN2",
"tokenValue": "VALUE2"
}
]
}
In the runner’s connection, specify the location of the credential file on the private action runner’s container. In this example, the credential file is stored at /etc/dd-action-runner/creds/http_creds.json
on the runner.