Secret with different value per target/environment?

Currently I just create a new secret for each target like (PROD_SERVER_IP, DEV_SERVER_IP…). Is there a way I can define my secrets with the same name (like SERVER_IP) but different value when running in different target, similar to CI variables under different environment in Gitlab CI?