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

modify apikey in a provisioned device #833

Closed
AlvaroVega opened this issue May 21, 2024 · 7 comments
Closed

modify apikey in a provisioned device #833

AlvaroVega opened this issue May 21, 2024 · 7 comments

Comments

@AlvaroVega
Copy link
Member

IoT Agent JSON version the issue has been seen with

3.4.0

Bound or port used (API interaction)

Northbound (Provision API and NGSI Interactions)

NGSI version

NGSIv2

Are you running a container?

Yes, I am using a contaner (Docker, Kubernetes...)

Image type

None

Expected behaviour you didn't see

modify apikey in a provisioned device

Unexpected behaviour you saw

No response

Steps to reproduce the problem

No response

Configs

environment:
    - "IOTA_CB_HOST=orion"
    - "IOTA_CB_PORT=1026"
    - "IOTA_NORTH_PORT=4041"
    - "IOTA_REGISTRY_TYPE=mongodb"
    - "IOTA_MONGO_HOST=mongodb"
    - "IOTA_MONGO_PORT=27017"
    - "IOTA_MONGO_DB=iotagent-json"
    - "IOTA_HTTP_PORT=7896"
    - "IOTA_PROVIDER_URL=http://iot-agent:4041"

Log output

No response

@Madhu1029
Copy link

Hi @AlvaroVega ,

The bug is to provide a functionality to update apikey of a pre-provisioned device.

For Example: A device is provisioned with apikey '123'. Then one should able to change the apikey from '123' to '456' with update API of device provisioning.

Could you please confirm the above understanding of issue?

@fgalan
Copy link
Member

fgalan commented May 22, 2024

Your understanding is right.

@AlvaroVega
Copy link
Member Author

AlvaroVega commented May 22, 2024

Hi @AlvaroVega ,

The bug is to provide a functionality to update apikey of a pre-provisioned device.

For Example: A device is provisioned with apikey '123'. Then one should able to change the apikey from '123' to '456' with update API of device provisioning.

Could you please confirm the above understanding of issue?

BTW I'm working on this issue (some works were done in https://github.com/telefonicaid/iotagent-node-lib/tree/task/device_update_handler_with_old_device_value)

@Madhu1029
Copy link

BTW I'm working on this issue

Thanks for the information.

@Madhu1029
Copy link

Hi @fgalan ,

As mentioned @AlvaroVega is working on this issue. Please confirm if I should work on this issue or he will continue to work.

@fgalan
Copy link
Member

fgalan commented May 22, 2024

@Madhu1029 you are right. Sorry for the misunderstanding.

@fgalan
Copy link
Member

fgalan commented Jun 5, 2024

@fgalan fgalan closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants