aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

AWS Identity Center CreateApplication api missing application metadata configuration #747

Open kamalika-majumder opened 6 months ago

kamalika-majumder commented 6 months ago

Describe the bug

A custom application created using CreateApplication api (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplication.html) in identity center does not contain application metadata section which we can see when we use console to create a custom saml app. This bug/missing feature essentially makes this api useless since adding application metadata and downloading the metadata xml is a required step in using any saml app.

Expected Behavior

Expected to see IAM Identity Center metadata and Application metadata sections while configuring.

Screenshot 2023-12-09 at 9 58 56 PM Screenshot 2023-12-09 at 9 58 39 PM

Current Behavior

The https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplication.html api does not have any argument for these. And even after the app is created these sections are missing in edit confguration.

Reproduction Steps

Either rin api to create an application https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplication.html or you can run the below terraform code which uses the same api:

resource "aws_ssoadmin_application" "custom_saml" {
  name                     = var.custom_application_name
  description              = "Custon SAML 2.0 app for ${var.custom_application_name}."
  application_provider_arn = "arn:aws:sso::aws:applicationProvider/custom"
  instance_arn             = tolist(data.aws_ssoadmin_instances.primary.arns)[0]

}

Possible Solution

Add arguments to add metadata configuration.

Additional Information/Context

No response

CLI version used

version 2

Environment details (OS name and version, etc.)

terraform provider for aws 5.30, macos 13

bat9r commented 6 months ago

Also have same problem

tim-finnigan commented 1 month ago

Thanks for this feature request and for your patience here. Since this request is directed towards the underlying CreateApplication API which is used across the CLI/SDKs, I will transfer it to our cross-SDK repository and reach out to the IAM Identity Center service team for review. I'll share any updates here in the issue. (ref: P130101280)