Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add IRSA credential type #7708

Merged
merged 9 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/ucp/api/v20231001preview/zz_generated_constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/ucp/api/v20231001preview/zz_generated_interfaces.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 24 additions & 1 deletion pkg/ucp/api/v20231001preview/zz_generated_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions pkg/ucp/api/v20231001preview/zz_generated_models_serde.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operationId": "AwsCredentials_CreateOrUpdate",
"title": "Create or update an AWS credential",
"title": "Create or update an AWS AccessKey credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"operationId": "AwsCredentials_Delete",
"title": "Delete an AWS AccessKey credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
"planeName": "awscloud",
"credentialName": "default"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operationId": "AwsCredentials_Get",
"title": "Get an AWS credential",
"title": "Get an AWS AccessKey credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operationId": "AwsCredentials_List",
"title": "List AWS credentials",
"title": "List AWS AccessKey credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operationId": "AwsCredentials_Update",
"title": "Update an AWS credential",
"title": "Update an AWS AccessKey credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"operationId": "AwsCredentials_CreateOrUpdate",
"title": "Create or update an AWS IRSA credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
"planeName": "aws",
"credentialName": "default",
"Credential": {
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleARN": "enterRoleARN",
"storage": {
"kind": "Internal"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleARN": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
},
"201": {
"body": {
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleARN": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"operationId": "AwsCredentials_Delete",
"title": "Delete an AWS credential",
"title": "Delete an AWS IRSA credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"operationId": "AwsCredentials_Get",
"title": "Get an AWS IRSA credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
"planeName": "awscloud",
"credentialName": "default"
},
"responses": {
"200": {
"body": {
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleArn": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"operationId": "AwsCredentials_List",
"title": "List AWS IRSA credentials",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
"planeName": "awscloud"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleArn": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"operationId": "AwsCredentials_Update",
"title": "Update an AWS IRSA credential",
"parameters": {
"api-version": "2023-10-01-preview",
"planeType": "aws",
"planeName": "aws",
"credentialName": "default",
"Credential": {
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleArn": "enterRoleARN",
"storage": {
"kind": "Internal"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "IRSA",
"roleArn": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
},
"201": {
"body": {
"id": "/planes/AWS/aws/providers/System.AWS/credentials/default",
"name": "default",
"type": "System.AWS/credentials",
"location": "us-west-2",
"properties": {
"kind": "AccessKey",
"roleArn": "enterRoleARN",
"storage": {
"kind": "Internal",
"secretName": "aws-awscloud-default"
}
}
}
}
}
}
Loading