Skip to content

[BUG] Using apigeecli apps genkey removes all App attributes #651

@kurtkanaskie

Description

@kurtkanaskie

Describe the bug
Create an App with attributes and then use genkey to create a new key removes all the attributes on the App

Version
Version of the cli being used (run apigeecli --version)

apigeecli --version
apigeecli version 2.9.0 date: 2025-01-22T22:34:55Z [commit: 4d20467]

To Reproduce
Create a test developer and API Product.

apigeeclix apps create --org=$ORG --email=$DEV --name=$APP \
    --prods=pingstatus-v1-product-test --attrs=DisplayName=$APP | jq

apigeeclix apps genkey --org=$ORG --devid=$DEV --prods="petstore-oas-3.1" --name=$APP

apigeeclix developers getapps --org=$ORG --name=$DEV --expand=true

Notice the output does not include attributes.

Expected behavior
A new key should be created and attributes should still be there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions